Package Exports
- ui-elve
- ui-elve/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ui-elve) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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