Skip to main content

Components Overview

Scaffald UI provides 90+ production-ready components organized into intuitive categories. All components are:

  • ✅ Cross-platform - Work seamlessly on iOS, Android, and Web
  • ✅ Accessible - WCAG 2.1 AA compliant with proper ARIA attributes
  • ✅ Type-safe - Full TypeScript support
  • ✅ Themeable - Support light/dark modes and custom themes
  • ✅ Tested - Comprehensive test coverage

Component Categories​

Form Components​

Build beautiful, accessible forms with our comprehensive form component library:

  • Button - Primary, secondary, outline, ghost, and text variants
  • TextInput - Single-line text input with label and validation
  • Textarea - Multi-line text input
  • Select - Dropdown selection component
  • Checkbox - Single or multi-selection checkboxes
  • Radio - Mutually exclusive options
  • Toggle - Boolean on/off switch
  • Slider - Range input component
  • DatePicker - Date and time selection
  • SearchBar - Search input with icon

Layout​

Structure your UI with flexible layout components:

  • Stack - Vertical layout with spacing
  • Row - Horizontal layout with spacing
  • Container - Responsive container with max-width
  • Divider - Visual separator
  • Spacer - Flexible spacing component
  • Grid - Responsive grid layout

Navigate your app with these components:

  • Tabs - Tabbed navigation with multiple variants
  • Breadcrumb - Hierarchical navigation
  • Pagination - Page navigation for lists
  • Menu - Contextual menu
  • Drawer - Slide-out navigation panel

Feedback​

Provide user feedback with these components:

  • Alert - Inline notification messages
  • Toast - Temporary notification popups
  • Modal - Modal dialog overlay
  • Dialog - Confirmation and alert dialogs
  • Progress - Progress indicators
  • Spinner - Loading spinners
  • Skeleton - Loading placeholders
  • Badge - Status indicators and counts
  • Tooltip - Contextual help text

Data Display​

Display data in beautiful, organized ways:

  • Card - Content container with variants
  • Table - Data tables with sorting and pagination
  • List - Vertical list of items
  • Avatar - User profile pictures
  • Chip - Compact elements for tags and filters
  • Icon - Icon component with 1000+ icons
  • Image - Optimized image component

Typography​

Text components for all your content needs:

  • Text - Base text component with variants
  • Heading - Semantic heading levels (h1-h6)
  • Link - Interactive text links

Overlays​

Components that appear on top of content:

  • Popover - Floating content container
  • Dropdown - Dropdown menus and selects
  • Sheet - Bottom sheet and modal overlays

Design Principles​

All Scaffald UI components follow these core principles:

Consistency​

Every component uses the same design tokens, ensuring visual consistency across your entire application.

Accessibility​

Components include proper ARIA attributes, keyboard navigation, and screen reader support out of the box.

Performance​

Built with inline styles and optimized for React Native's rendering engine. Minimal runtime overhead.

Flexibility​

Extensive customization options through props while maintaining sensible defaults.

Getting Started​

Ready to build? Check out these resources:

Need Help?​