Components
@rtorcato/shadcn-ui ships two kinds of components, each imported from its own
subpath (there is no package root export):
components/ui/*— the stock shadcn/ui primitives, pre-built so you don't run the CLI per project. Documented upstream; the table below links each to its ui.shadcn.com page and a live Storybook story.components/ui-extended/*— hand-written compositions not on ui.shadcn.com. Each has its own page in this section with props + a live demo.
Every component is previewable in Storybook
(60 stories, light/dark + theme presets). Setup — importing styles.css and the
Tailwind content globs — is covered in Tailwind setup.
Extended components
Hand-written, not on ui.shadcn.com — see each page for props and a live demo:
- Confirm dialog — AlertDialog wrapper with confirm/cancel + loading
- Data table — sortable, paginated TanStack Table
- File upload — drag-and-drop upload with validation
- Multi-select — searchable multi-value combobox
- Page header — title + breadcrumbs + actions
- Date picker (presets) — popover picker with quick presets
- Date picker (range) — two-month range picker
UI primitives
Stock shadcn/ui. Import from @rtorcato/shadcn-ui/components/ui/<name>.
| Component | Subpath | Upstream | Live |
|---|---|---|---|
accordion | ui/accordion | docs | story |
alert | ui/alert | docs | story |
alert-dialog | ui/alert-dialog | docs | story |
aspect-ratio | ui/aspect-ratio | docs | story |
avatar | ui/avatar | docs | story |
badge | ui/badge | docs | story |
breadcrumb | ui/breadcrumb | docs | story |
button | ui/button | docs | story |
button-group | ui/button-group | docs | story |
calendar | ui/calendar | docs | story |
card | ui/card | docs | story |
carousel | ui/carousel | docs | story |
chart | ui/chart | docs | story |
checkbox | ui/checkbox | docs | story |
collapsible | ui/collapsible | docs | story |
command | ui/command | docs | story |
context-menu | ui/context-menu | docs | story |
dialog | ui/dialog | docs | story |
drawer | ui/drawer | docs | story |
dropdown-menu | ui/dropdown-menu | docs | story |
empty | ui/empty | docs | story |
field | ui/field | docs | story |
form | ui/form | docs | story |
hover-card | ui/hover-card | docs | story |
input | ui/input | docs | story |
input-group | ui/input-group | docs | story |
input-otp | ui/input-otp | docs | story |
item | ui/item | docs | story |
kbd | ui/kbd | docs | story |
label | ui/label | docs | story |
menubar | ui/menubar | docs | story |
navigation-menu | ui/navigation-menu | docs | story |
pagination | ui/pagination | docs | story |
popover | ui/popover | docs | story |
progress | ui/progress | docs | story |
radio-group | ui/radio-group | docs | story |
resizable | ui/resizable | docs | story |
scroll-area | ui/scroll-area | docs | story |
select | ui/select | docs | story |
separator | ui/separator | docs | story |
sheet | ui/sheet | docs | story |
sidebar | ui/sidebar | docs | story |
skeleton | ui/skeleton | docs | story |
slider | ui/slider | docs | story |
sonner | ui/sonner | docs | story |
spinner | ui/spinner | docs | story |
switch | ui/switch | docs | story |
table | ui/table | docs | story |
tabs | ui/tabs | docs | story |
textarea | ui/textarea | docs | story |
toggle | ui/toggle | docs | story |
toggle-group | ui/toggle-group | docs | story |
tooltip | ui/tooltip | docs | story |