Facet gives you UI components for roblox-ts as source files, not as a package. You run one command,
and a button.tsx appears in your project with its imports resolved and the theme wired up.
The file is yours from then on. Edit it, cut it down, rename it. Facet never updates it, so nothing overwrites your changes.
The hard parts live in real dependencies, not in the copied file:
- Lattice UI handles behavior: focus, layering, presence, controlled state and
asChild. - Vela handles styling. It compiles
classNameinto Roblox properties, so a component holds noColor3orUDim2of its own.
What you own is the short composition of the two.
Facet publishes a CLI and two small packages. facet-rbxts is the CLI. It fetches components from a
hosted registry, so new components don’t need a CLI release.
@facet-ui/react-variants is the cva equivalent every component imports. @facet-ui/theme
supplies the semantic tokens as a Vela config preset.
# One command, and a file appears in your project.npx facet-rbxts initnpx facet-rbxts add button
# src/shared/ui/button.tsx is now yours — edit it, rename it, delete half of it.# There is no upgrade that will overwrite it, because there is no upgrade.Components
What the registry holds today.
Guides
Own the code you copied.
Reference
Every command, field, and token.
Every preview here is the real component.
The frames on the component pages render the actual registry source, lowered by the actual Vela compiler against the actual @facet-ui/theme tokens — the same file facet add would copy into your project, not a web imitation of it. Flip the site's light/dark toggle and the frame reloads a different build, because Facet resolves its colors at compile time and a build carries exactly one mode.
What a preview is not is Roblox. Loom reimplements Roblox layout; it does not run the engine. Studio is still the only place a component is really confirmed.
Scope and status →