- Accordion
- Action Bar
- Alert Dialog
- Alert
- Announcement
- Aspect Ratio
- Autocomplete
- Avatar
- Badge
- Bottom Navigation
- Breadcrumb
- Button Group
- Button
- Calendar
- Card
- Carousel
- Chart
- Checkbox
- Circular Progress
- Circular Slider
- Clipboard
- Collapsible
- Color Picker
- Combobox
- Command
- Context Menu
- Data List
- Date Picker
- Dialog
- Drawer
- Editable
- Field
- File Upload
- Float
- Floating Panel
- Frame
- Hint
- Hover Card
- Image Cropper
- Input Group
- Input OTP
- Input
- Item
- Kbd
- Link Overlay
- Listbox
- Marquee
- Menu
- Native Select
- Number Input
- Pagination
- Popover
- Progress
- Prose
- QR Code
- Radio Group
- Rating
- Resizable
- Scroll Area
- Segment Group
- Select
- Separator
- Sheet
- Sidebar
- Signature Pad
- Skeleton
- Skip Nav
- Slider
- Spinner
- Status
- Steps
- Switch
- Table
- Tabs
- Textarea
- Timer
- Toast
- Toggle Group
- Toggle Tooltip
- Toggle
- Tooltip
- Tour
- Tree View
This guide walks through installing Shark UI with your framework of choice. You will end up with components in your project, styled with Tailwind, and ready to customize.
Prerequisites
Components require Tailwind CSS and Ark UI. When you add components via the shadcn CLI, those dependencies are installed automatically. For manual setup, you add them yourself.
Frameworks
Adding components
Two options:
- CLI (recommended): Run
npx shadcn@latest add https://shark.vini.one/r/<component>.json(e.g.button,dialog,input). The CLI fetches the component and its dependencies, writes files to your project, and installs any missing packages. - Manual: Copy component source from the Shark UI repo into your project and wire up imports. Use this when you need full control or the CLI does not fit your setup.
Both paths result in components you own—no runtime package beyond Ark and Tailwind.
Styling
For theming, globals.css, and layout setup, see Styling. Colors use predefined variables from Tailwind CSS. The naming follows the shadcn/ui convention: --background, --foreground, --primary, etc.
Extended colors
See Colors for the full palette and variable reference. Extra variables extend the base palette for components that need state-specific colors (badges, alerts, status indicators):
--destructive-foreground— Foreground for destructive actions--info/--info-foreground— Information states--success/--success-foreground— Success states--warning/--warning-foreground— Warning states
These keep styling consistent across components that show different states or levels of severity.