rippleui-cli
v0.1.5
Published
shadcn/ui inspired components library for Ripple TS
Maintainers
Readme
ripple-ui
A shadcn/ui inspired component library for Ripple TS.
Getting started
1. Initialize
npx rippleui-cli initThis will:
- Detect your tailwind setup and import alias defined in the vite configuration
- Ask you to choose a base color and an accent theme
- Write a
components.jsonconfig file - Inject CSS variables and theme tokens into your main CSS file
2. Add components
npx rippleui-cli add <components...>Components and their dependencies are copied into your src/components/ directory.
3. Browse available components
npx rippleui-cli list4. See what's installed
npx rippleui-cli installedAvailable components
- button
- checkbox
- input
- select
- label
- utils
Theming
Base colors:
- stone
- zinc
- slate
Accent themes:
- neutral
- blue
- violet
- rose
- orange
components.json
Generated during initialization:
{
"aliases": {
"components": "@/components",
"utils": "@/utils"
},
"directories": {
"components": "src/components",
"utils": "src/utils"
},
"css": "src/index.css",
"installed": []
}