rn-shadcn 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# rn-shadcn
|
|
2
2
|
|
|
3
3
|
A shadcn-style CLI for React Native UI components. Install pre-built components directly into your project — no wrapper library, full ownership.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npx
|
|
7
|
-
npx
|
|
8
|
-
npx
|
|
6
|
+
npx rn-shadcn init
|
|
7
|
+
npx rn-shadcn add button
|
|
8
|
+
npx rn-shadcn add card modal
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Prerequisites
|
|
@@ -18,7 +18,7 @@ npx react-native-windcn add card modal
|
|
|
18
18
|
## Getting Started
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
npx
|
|
21
|
+
npx rn-shadcn init
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
This creates:
|
|
@@ -33,9 +33,9 @@ This creates:
|
|
|
33
33
|
Install one or more components:
|
|
34
34
|
|
|
35
35
|
```bash
|
|
36
|
-
npx
|
|
37
|
-
npx
|
|
38
|
-
npx
|
|
36
|
+
npx rn-shadcn add button
|
|
37
|
+
npx rn-shadcn add card modal
|
|
38
|
+
npx rn-shadcn add accordion dialog sheet
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
Automatically installs required npm dependencies.
|
|
@@ -45,7 +45,7 @@ Automatically installs required npm dependencies.
|
|
|
45
45
|
Show all available components:
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
|
-
npx
|
|
48
|
+
npx rn-shadcn list
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
### `info`
|
|
@@ -53,7 +53,7 @@ npx react-native-windcn list
|
|
|
53
53
|
View component metadata:
|
|
54
54
|
|
|
55
55
|
```bash
|
|
56
|
-
npx
|
|
56
|
+
npx rn-shadcn info button
|
|
57
57
|
```
|
|
58
58
|
|
|
59
59
|
## How It Works
|