UI & Theming
UI Components
Overview of the UI component system in Caracal — HeroUI Native and custom components.
The UI Components documentation is organized into two focused guides:
HeroUI Native Components
Documentation for the primary UI component library used in Caracal.
Includes:
- 30+ production-ready components (Button, TextField, Card, Dialog, etc.)
- Component variants and styling
- Dark mode support
- Form integration patterns
- Component examples from the app
- Complete API reference
Custom Components
Documentation for the shared UI components built specifically for Caracal.
Includes:
- Image (Uniwind wrapper for expo-image)
- Text (template typography)
- ControlledInput (react-hook-form integration)
- List (LegendList wrapper)
- Modal (HeroUI Native BottomSheet wrapper)
- FocusAwareStatusBar
Quick Reference
Import from heroui-native
import {
Button,
TextField,
Card,
Dialog,
Checkbox,
Switch,
Select,
Tabs,
// ... and 20+ more
} from 'heroui-native';Import from @/components/ui
import {
Image,
Text,
View,
ControlledInput,
List,
Modal,
FocusAwareStatusBar,
} from '@/components/ui';The separation keeps clear boundaries between library components and custom components, and ensures accurate import statements throughout the codebase.