ui-elve
v0.1.1
Published
A CLI to generate button components with variants and animations.
Downloads
2
Maintainers
Readme
ui-elve
A simple CLI tool to generate a button component for Next.js projects.
Installation
npm install -g ui-elve
Usage
To generate a button component, navigate to your Next.js project directory and run:
npx ui-elve button
This will create a Button.jsx
file in the components
folder of your project. If the components
folder doesn't exist, it will be created.
Button Component
The generated button component includes:
- Multiple variants (default, outline, ghost)
- Multiple sizes (small, medium, large)
- Hover and focus effects
- Tailwind CSS classes for styling
License
MIT