Components Overview
Starwind UI currently includes the following components.
Accordion Alert Alert Dialog Aspect Ratio Avatar Badge Breadcrumb Button Button Group Card Carousel Checkbox Collapsible Combobox Dialog Dropdown Dropzone Image Item Input Input OTP Label Pagination Progress Prose Radio Group Select Separator Sheet Sidebar Skeleton Slider Spinner Switch Table Tabs Textarea Theme Toggle Toast Toggle Tooltip Video
Import Pattern
All components follow a consistent import pattern:
import { ComponentName } from "@/components/starwind/component-name";Class Overrides
Components support class overrides using the class prop. This allows you to customize the appearance of the component without modifying the source code.
---import { Button } from "@/components/starwind/button";---
<Button>default button</Button><Button class="bg-purple-700 text-white hover:bg-purple-800 rounded-full">custom button</Button>This feature is enabled by the tailwind-variants package, which uses tailwind-merge under the hood to merge Tailwind classes without style conflicts.