Docs
Installation
How to use DevKit components in your project
DevKit components are designed as copy-paste friendly building blocks that work seamlessly with shadcn/ui. Choose the integration method that fits your workflow:
Method 1: Using shadcn CLI (Recommended)
- Install shadcn/ui (if you haven't already):
pnpm dlx shadcn@latest init
- Add DevKit components:
pnpm dlx shadcn@latest add [component-path]
Example commands:
# For Chat components
npx shadcn@latest add https//devkit.kiron.dev/k/chat
# For UI components
npx shadcn@latest add https//devkit.kiron.dev/k/video-player
# For hooks
npx shadcn@latest add https//devkit.kiron.dev/k/use-local-storageMethod 2: Manual Copy-Paste
-
Browse components in the documentation:
-
Copy the component code from the docs
-
Create a new file in your project:
- UI Components →
/components/ui/[component-name].tsx - Utilities →
/utils/[utility-name].tsx
- UI Components →
-
Paste and customize as needed
For TypeScript Users
All components include type definitions out of the box. No additional setup needed.
Updating Components
To get the latest versions:
- Re-run the shadcn add command
- Or manually copy the updated code from docs
Why are you waiting?
Get started with DevKit components today and build amazing applications in no time!