Skip to content
GitHub

React Router

Install Shark UI in a React Router project.

Create project

Run the CLI

Run the shadcn init command to set up components.json and path aliases:

Add components

Add components from the Shark registry:

Import and use them in your routes:

TypeScriptapp/routes/home.tsx