Skip to content

Installation

How to install WoxCN Shadcn components in your project.

It doesn’t matter what framework or package manager you are using. Installing WoxCN components depends on your app type:

App typeCLI
Vite + Radix (web MFE)shadcn add @woxcn/<component>
Expo universal (iOS / Android / web)@react-native-reusables/cli add @woxcn/native-<component>

See Universal UI (Expo) for the native track.

The web install process is handled by the shadcn CLI tool and works identically to how you would install any other Shadcn component.

pnpm dlx shadcn@latest add @woxcn/action-button

If that doesn’t work you can use the full URL to the component’s JSON file instead.

pnpm dlx shadcn@latest add http://localhost:4321/r/action-button.json