@components-kit/react
v1.1.2
Published
Bi-directional Figma design system sync. CSS ships instantly—no code, no redeploy, no maintenance.
Downloads
90
Maintainers
Readme
@components-kit/react
Headless, accessible React components with data attributes for CSS-based styling
This is the core React component library for ComponentsKit.
Documentation
See the main README for full documentation including:
- Installation & peer dependencies
- Quick start guide
- Styling setup (Next.js, Vite)
- Component API reference
- Accessibility guide
- TypeScript usage
Type-Safe Variants
All variantName props use the VariantFor<T> type, which accepts any string by default. To enable autocomplete and build-time validation, use @components-kit/cli to generate type augmentations:
npm install -D @components-kit/cli
npx ck init && npx ck generateSee the @components-kit/cli README for details.
Component READMEs
Each component has its own detailed README in src/components/<name>/README.md:
| Component | README | |-----------|--------| | Alert | README | | Badge | README | | Button | README | | Checkbox | README | | Combobox | README | | Heading | README | | Icon | README | | Input | README | | MultiSelect | README | | Pagination | README | | Progress | README | | RadioGroup | README | | Select | README | | Separator | README | | Skeleton | README | | Slider | README | | Slot | README | | Switch | README | | Table | README | | Tabs | README | | Text | README | | Textarea | README | | Toast | README |
