Component Showcase
A comprehensive gallery of all shadcn-rails components.
Form Inputs
Form control components.
Input
Shadcn::InputComponentDisplays a form input field.
Textarea
Shadcn::TextareaComponentDisplays a multi-line text input.
Label
Shadcn::LabelComponentRenders an accessible label for form controls.
Checkbox
Shadcn::CheckboxComponentA control that toggles a boolean state.
Switch
Shadcn::SwitchComponentA control for toggling between two states.
Slider
Shadcn::SliderComponentAn input for selecting a value from a range.
Select
Shadcn::SelectComponentDisplays a list of options for the user to pick from.
Data Display
Components for displaying content and data.
Badge
Shadcn::BadgeComponentDisplays a badge with various styles.
Avatar
Shadcn::AvatarComponentAn image element with fallback for representing a user.
JD
JS
Card
Shadcn::CardComponentDisplays a card with header, content, and footer.
Card Title
Card description goes here
This is the main content of the card.
Table
Shadcn::TableComponentA responsive table component.
| Name | Status | Amount |
|---|---|---|
| John Doe | Active | $250.00 |
| Jane Smith | Pending | $150.00 |
Progress
Shadcn::ProgressComponentDisplays a progress bar.
Skeleton
Shadcn::SkeletonComponentUsed to show a placeholder while content is loading.
Aspect Ratio
Shadcn::AspectRatioComponentDisplays content within a fixed aspect ratio.
Feedback
Components for user feedback.
Alert
Shadcn::AlertComponentDisplays an important message to the user.
Heads up!
Error
Tooltip
Shadcn::TooltipComponentA popup that displays information on hover.
Overlays
Modal and popup components.
Dialog
Shadcn::DialogComponentA modal dialog that appears in front of the page.
Alert Dialog
Shadcn::AlertDialogComponentA modal dialog for important confirmation actions.
Sheet
Shadcn::SheetComponentA slide-out panel from the edge of the screen.
Drawer
Shadcn::DrawerComponentA mobile-optimized modal panel.
Move Goal
Set your daily activity goal.
Drawer content goes here...
Popover
Shadcn::PopoverComponentDisplays rich content in a portal.
Dropdown Menu
Shadcn::DropdownMenuComponentDisplays a menu when triggered.