Copy-in UI components for roblox-ts, built on Lattice UI and Vela. This host serves the JSON the CLI reads; it is not documentation.
npx facet-rbxts init
npx facet-rbxts add button
Index: r/index.json ·
format version 1 · built from facet-rbxts 0.4.0
accordion | Accordion with collapsible items, single or multiple open |
alert | Alert with title and description parts, default or destructive |
alert-dialog | Confirmation dialog that cannot be dismissed without answering |
avatar | Avatar with image and text fallback parts |
badge | Small status pill that hugs its label |
button | Button with variant and size recipes |
card | Card with header, title, description, content, and footer parts |
checkbox | Checkbox with checked, indeterminate, and disabled states |
dialog | Modal dialog with overlay, header, footer, and close parts |
kbd | Key cap for a keyboard shortcut, alone or in a group |
label | Form label |
popover | Panel positioned against its trigger, on any of the four sides |
progress | Progress bar, determinate or indeterminate |
radio-group | Radio group where exactly one item is checked |
scroll-area | Scroll container with a styled overlay scrollbar |
separator | One-pixel divider, horizontal or vertical |
sheet | Dialog panel pinned to a screen edge, on any of the four sides |
skeleton | Placeholder block for content that has not arrived |
slider | Slider with track, range fill, and draggable thumb |
switch | Toggle switch with an animated thumb |
tabs | Tabs with list, triggers, and switched content panels |
text | TextSlot — wraps string children in a styled textlabel |
text-field | Single-line input with label, description, and message parts |
textarea | Multi-line input that grows with its text |
toggle-group | Group of two-state buttons, single or multiple pressed |
utils | cn — class composition helper every component imports |