@react-native-reusables/cli

0.3.6 • Public • Published

React Native Reusables CLI

Please follow the initial setup steps before using

A CLI to add react-native-reusables components to your project. When components depend on other components, they will also be added to your project.

How to use

Use the following command (with optional arugments and flags):

npx @react-native-reusables/cli@latest add

Arguments

If you do not add arguments, you will be prompted to select the ui components you would like to add to your project.

UI Components

  • accordion
  • alert
  • alert-dialog
  • aspect-ratio
  • avatar
  • badge
  • button
  • card
  • checkbox
  • collapsible
  • context-menu
  • dialog
  • dropdown-menu
  • hover-card
  • input
  • label
  • menubar
  • navigation-menu
  • popover
  • radio-group
  • select
  • separator
  • skeleton
  • switch
  • table
  • tabs
  • text
  • textarea
  • toggle
  • toggle-group
  • tooltip
  • typography

Flags

  • -o or --overwrite: Overwrite existing files. Default to false
  • -c <cmd> or --cwd <cwd>: The working directory. Defaults to the current directory.
This project uses code from shadcn.
The code is licensed under the MIT License.
https://github.com/shadcn-ui/ui

Package Sidebar

Install

npm i @react-native-reusables/cli

Weekly Downloads

725

Version

0.3.6

License

MIT

Unpacked Size

288 kB

Total Files

73

Last publish

Collaborators

  • mrzachnugent