@skutally/ui-library
v0.1.21
Published
A modern UI component library for HTML, Tailwind CSS & Stimulus.js. Copy-paste components into your project.
Downloads
98
Maintainers
Readme
@skutally/ui-library
A CLI for adding beautifully designed components to your HTML + Tailwind CSS v4 + Stimulus.js projects.
This is NOT a component library you install as a dependency. It's a collection of re-usable components that you copy into your apps and customize. The code is yours.
Installation
npx @skutally/ui-library init
For Rails projects: npx @skutally/ui-library init --rails
The init command creates a components.json config file and sets up src/base.css with Tailwind CSS v4 theme variables. In Rails mode, it also generates ERB partials, Stimulus controllers, and a helper module.
Usage
add
Add components to your project. Automatically resolves all required dependencies.
npx @skutally/ui-library add button npx @skutally/ui-library add modal tabs accordion npx @skutally/ui-library add button --rails
update
Update installed components to the latest version. Run without arguments to update all installed components, or specify names to update only those.
npx @skutally/ui-library update npx @skutally/ui-library update button modal
remove
Remove components from your project. npx @skutally/ui-library remove button
list
View all available components. npx @skutally/ui-library list
diff
Check if your local component differs from the registry version. npx @skutally/ui-library diff button
Components (48)
- Accordion
- Alert
- Alert Dialog
- Aspect Ratio
- Avatar
- Badge
- Breadcrumb
- Button
- Button Group
- Calendar
- Card
- Carousel
- Checkbox
- Collapsible
- Combobox
- Command
- Context Menu
- Date Picker
- Dialog
- Dropdown Menu
- Hover Card
- Input
- Input OTP
- Kbd
- Label
- Menubar
- Navigation Menu
- Pagination
- Popover
- Progress
- Radio Group
- Rating
- Resizable
- Scroll Area
- Select
- Separator
- Sheet
- Skeleton
- Slider
- Spinner
- Switch
- Table
- Tabs
- Textarea
- Timeline
- Toast
- Toggle Group
- Tooltip
- Typography
Dark Mode
All components support dark mode out of the box. Add the dark class to your <html> element or use the built-in dark mode toggle controller.
Documentation
Visit the documentation page to view the full docs.
License
Licensed under the MIT license.
