Back to Shark UI

Installation

docs/installation

latest5.9 KB
Original Source

Sections

Components

Utilities

Forms

Hooks

Installation

Copy Markdown

Get Shark UI running in your project.

Prerequisites#

Components require Tailwind CSS v4. Before you begin, make sure you have a project set up with Tailwind CSS installed.

Adding components#

CLI#

pnpmbunnpmyarn

pnpm dlx shadcn@latest add @shark/<component>

Manual#

Copy component source from the component docs via the Manual tab.

All at once#

pnpmbunnpmyarn

pnpm dlx shadcn@latest add @shark/ui

New Project Setup#

For new projects, you have the CLI and Manual setup.

CLI#

pnpmbunnpmyarn

pnpm dlx shadcn@latest init @shark/style

Manual#

[

Next.js

](/docs/installation/next)[

Vite

](/docs/installation/vite)[

TanStack Start

](/docs/installation/tanstack-start)[

Astro

](/docs/installation/astro)[

React Router

](/docs/installation/react-router)[

Laravel

](/docs/installation/laravel)[

Manual

](/docs/installation/manual)

Styling#

For theming and layout setup, see Styling.

Color system#

See Colors for the full palette and variable reference.

[

Previous page

Introduction ](/docs)[

Next page

Styling ](/docs/styling)

On This Page

PrerequisitesAdding componentsCLIManualAll at onceNew Project SetupCLIManualStylingColor system