JSPM

ui-elve

0.1.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 2
    • Score
      100M100P100Q19235F
    • License ISC

    A CLI to generate button components with variants and animations.

    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