JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 20
  • Score
    100M100P100Q60918F
  • License MIT

Add nativecn-ui components to your React Native apps.

Package Exports

    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 (nativecn-ui) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    nativecn-ui

    A CLI for adding components to your project.

    Inspired by shadcn/ui CLI.

    Usage

    Use the init command to initialize dependencies for a new project.

    The init command installs dependencies and adds a basic tailwind.config.js.

    npx nativecn-ui init

    add

    Use the add command to add components to your project.

    The add command adds a component to your project and installs all required dependencies.

    npx nativecn-ui add [component]

    Example

    npx nativecn-ui add Button

    You can also run the command without any arguments to view a list of all available components:

    npx nativecn-ui add

    Documentation

    Visit https://nativecn.mintlify.app/introduction to view the documentation.

    License

    Licensed under the MIT license.