Components
- Accordion
- Alert Dialog
- Alert
- Autocomplete
- Avatar
- Badge
- Button Group
- Button
- Card
- Carousel
- Chart
- Checkbox
- Clipboard
- Collapsible
- Combobox
- Command
- Context Menu
- Date Picker
- Dialog
- Editable
- Field
- File Upload
- Floating Panel
- Hover Card
- Input Group
- Input OTP
- Input
- Item
- Kbd
- Marquee
- Menu
- Native Select
- Number Input
- Pagination
- Popover
- Progress
- QR Code
- Radio Group
- Rating Group
- Scroll Area
- Select
- Separator
- Sheet
- Skeleton
- Slider
- Spinner
- Splitter
- Steps
- Switch
- Table
- Tabs
- Textarea
- Toast
- Toggle Group
- Toggle
- Tooltip
- Tour
- Tree View
Next.js
Instructions to install Shark UI in a Next.js project
Create project
To create a new Next.js project, you can use the following command:
pnpm create next-app@latest my-app --yes
Adding css
Replace everything in app/globals.css with the following:
@import "tailwindcss";
Run the CLI
Run the shadcn init command to setup your project:
pnpm dlx shadcn@latest init
You will be asked a few questions to configure components.json file.