Import
All components are available from a single import:Component Reference
Dialogs
AlertDialog
Accessible alert dialog for confirmations and destructive actions.AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel
Dialog
General-purpose modal dialog.Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger
Forms
Input
Single-line text input.Textarea
Multi-line text input.Select
Dropdown select menu.Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue
RadioGroup
Radio button group for mutually exclusive choices.Slider
Range slider for numeric values.Switch
Toggle switch for boolean settings.Layout
Card
Elevated container for grouping related content.Separator
Horizontal or vertical visual divider.Tabs
Tabbed content panels.Feedback
Badge
Inline status label or tag.Button
Primary interactive element.Tooltip
Non-interactive contextual hint.Icons
The SDK exposes a curated set of Lucide icons viaSTRATOS_ICONS:
lucide-react by adding it as a dependency in your package.json:
Styling Notes
All components use the shell’s Tailwind theme tokens automatically. Dark mode is handled for you — use semantic class names likebg-card, text-muted-foreground, and border rather than hardcoded colours:
| Class | Usage |
|---|---|
bg-card | Card and panel backgrounds |
bg-muted | Subtle secondary backgrounds |
text-muted-foreground | Secondary and supporting text |
border | Standard borders |
bg-primary / text-primary | Accent colour (configured per-airline) |