UI SDK
Downcity UI SDK integration, style entrypoints, and public export structure
UI SDK
@downcity/ui is the shared React + Tailwind primitive package used across Downcity surfaces such as Console UI and other host applications.
If you want one page per component, continue with Components.
If you want setup guidance before using the components, continue with Installation.
What It Includes
- Console-style primitives such as
Button,Badge,Card,Checkbox,Input,Label,Textarea,Separator,Dialog,Sheet,DropdownMenu,Popover,Tabs,Toggle,ToggleGroup,Tooltip,Skeleton, andToaster - The shared
cnutility for Tailwind class composition - Two style entrypoints:
source.cssandstyles.css - Public types:
DowncityButtonVariant,DowncityButtonSize,DowncityCardSize,DowncityDropdownMenuItemVariant, andDowncityToasterTheme
Reading Paths
Public Export Structure
Utilities and Types
cnDowncityButtonVariantDowncityButtonSizeDowncityCardSizeDowncityDropdownMenuItemVariantDowncityToasterTheme
Form Primitives
InputTextareaCheckboxLabel
Containers and Display
CardCardHeaderCardTitleCardDescriptionCardActionCardContentCardFooterBadgeSeparatorSkeletonTabs
Actions and State Switching
ButtonToggleToggleGroup
Overlays and Feedback
DialogSheetDropdownMenuPopoverTooltipToaster
Component Coverage
- Actions:
Button,Badge,Toggle,ToggleGroup - Forms:
Input,Textarea,Checkbox,Label - Containers:
Card,Separator,Skeleton,Tabs - Overlays:
Dialog,DropdownMenu,Popover,Sheet,Tooltip,Toaster