← Work

Inventory UI

Example showcase. Drag-and-drop grid inventory with stacking and tooltips.

UI · Sep 2026 · Solo

  • Luau
  • UI
  • Tweening
Drag & drop

This is a placeholder. Write how it works here.

Slot handling

local Slot = {}
Slot.__index = Slot

function Slot.new(frame: Frame, index: number)
	local self = setmetatable({ Frame = frame, Index = index, Item = nil }, Slot)
	return self
end

function Slot:SetItem(item)
	self.Item = item
	self.Frame.Icon.Image = item and item.Icon or ""
end

return Slot