Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Mobilecn-UI/nativecn-ui

Beautiful and customizable React Native components
https://github.com/Mobilecn-UI/nativecn-ui

expo react-native shadcn-ui tailwindcss ui

Last synced: about 1 month ago
JSON representation

Beautiful and customizable React Native components

Awesome Lists containing this project

README

        

# nativecn-ui

Beautiful and customizable React Native components, inspired by [shadcn-ui](https://github.com/shadcn-ui/ui). Built-in dark mode, CSS variables, and NativeWind support.

| Dark mode | Light mode |
| :-----------------------------------: | :------------------------------------: |
| ![](assets/examples/example-dark.png) | ![](assets/examples/example-light.png) |

## Usage

### I have an Expo project, how do I get started?

First, initialize nativecn from your project's root directory.

```bash
npx nativecn-ui init
```

Then, you can start adding components.

```bash
npx nativecn-ui add Avatar
```

> **Tip**: run `npx nativecn-ui add -a` to add all components.

### How do I run this locally?

```bash
# Clone the repo
git clone [email protected]:Mobilecn-UI/nativecn-ui.git
cd nativecn-ui

# Install deps
yarn

# Run it with Expo
yarn start
```

## Components

- [x] [Avatar](components/Avatar.tsx)
- [x] [Badge](components/Badge.tsx)
- [x] [Button](components/Button.tsx)
- [x] [Card](components/Card.tsx)
- [x] [Checkbox](components/Checkbox.tsx)
- [x] [Dialog](components/Dialog.tsx)
- [x] [Input](components/Input.tsx)
- [x] [Progress](components/Progress.tsx)
- [x] [Radio Group](components/RadioGroup.tsx)
- [x] [Skeleton](components/Skeleton.tsx)
- [x] [Switch](components/Switch.tsx)
- [x] [Tabs](components/Tabs.tsx)
- [x] [Toast](components/Toast.tsx)
- [x] [Dropdown](components/DropDown.tsx)
- [x] [Select](components/Select.tsx)
- [ ] Alert (WIP)
- [ ] Form (WIP)

## Contributing

Check out the [contributing guide](https://github.com/Mobilecn-UI/nativecn-ui/blob/main/CONTRIBUTING.md)

## License

Distributed under the [MIT license](https://github.com/Mobilecn-UI/nativecn-ui/blob/main/LICENSE).