Choose components and blocks
Components
Foundations
buttoninputtextareacheckboxswitchbadgecardalertavatarprogressseparatorskeletonspinner
Product primitives
filter-chipstatus-pillempty-statecolor-dottag-chiplegend-itemlist-rowlist-itemcolor-swatchstatus-badgedepartment-dot
Blocks
blocks-dashboard-panelblocks-filter-toolbarblocks-member-list
The source of truth is registry.json. Built registry payloads are generated in public/r.
Use a local component
After adding button, import it from the generated source directory. The alias below assumes your components.json uses @/components/ui; adapt it to your configured alias.
import { Button } from "@/components/ui/button";
export function SaveAction() {
return <Button variant="primary" size="md" onPress={() => console.log("Save requested")}>
Save
</Button>;
}Button behavior
The source exposes onPress, isPending, isIconOnly, fullWidth, and a state render callback, alongside native button attributes. The available variants are primary, secondary, tertiary, outline, ghost, danger and danger-soft; sizes are sm, md and lg. isPending disables the control. Provide an accessible label for an icon-only button.
These component details were checked against this source commit, because component source is fetched separately from the npm installer. The repository currently has no v0.1.2 tag; pin the verified commit instead of that nonexistent tag.
Source captured: 2026-10-11