Root Native UI gives you Material Design 3 components for React Native, on a design-system agnostic theme engine. You restyle each component through the theme.
It runs on iOS, Android, and the web (on @rootnative/web or react-native-web), on the Expo SDK 58 runtime. See Installation for the platform table.
- A theme engine for any design system: use MD3, make your own, or mix both
- Material Design 3 built in, with a light and a dark theme
- A full MD3 theme from one seed color
- Full TypeScript support with strict types
- Accessible by default: each component sets its role, its label, and its state, and each animation obeys the OS reduce-motion setting
- Tree-shakeable, with one subpath export per component
- Responsive layout hooks (
useBreakpoint, useBreakpointValue, useWindowDimensions) on the MD3 window size classes
- New project: Quick Start makes a ready-to-run Expo app with
npx rootnative create.
- Existing project: Installation adds Root Native UI to your React Native or Expo app.
| Component | Description |
|---|
| Box | A theme-aware View with spacing shorthand props |
| Row | A horizontal layout with wrap and invert support |
| Column | A vertical layout with invert support |
| Grid | An equal-width multi-column grid |
| Layout | A safe-area wrapper with the theme background |
| Component | Description |
|---|
| Button | Actions and choices with one tap |
| ButtonGroup | Connected buttons with single or multi selection |
| Checkbox | Selection controls for multiple choices |
| Chip | Compact elements for filters and selections |
| FAB | A floating action button for the primary action of the screen |
| IconButton | Icon-only actions |
| Radio | Selection controls for one choice |
| SearchBar | An MD3 search bar with a clear button and trailing actions |
| Slider | Selects a value or a range from a continuous track |
| SplitButton | A main action with a trailing button that opens a menu |
| Switch | Toggle controls for on/off settings |
| TextField | A text input with labels and validation |
| Component | Description |
|---|
| Avatar | An image, initials, or an icon that represents a person |
| Card | Contained surfaces for related content |
| Divider | A thin horizontal or vertical rule that groups content |
| Icon | Any icon source, rendered through the theme resolver |
| List | Vertically arranged items with text and icons |
| LoadingIndicator | The MD3 Expressive shape-morphing loading indicator |
| Progress | Linear and circular progress indicators (determinate / indeterminate) |
| Typography | Text in the MD3 type scale |
| Component | Description |
|---|
| AppBar | Top navigation with a title and actions |
| BottomAppBar | An 80dp bottom bar with icon actions and a flat FAB |
| BottomSheet | Draggable modal and standard sheets with snap points |
| Dialog | Basic and full-screen modal dialogs |
| KeyboardAvoidingWrapper | Keeps inputs visible when the keyboard opens |
| Menu | Anchored dropdown menus that flip and shift to stay on screen |
| Portal | Renders content above the rest of the tree |
| SideSheet | Modal and standard sheets at the side, with a headline and actions |
| Snackbar | Queued transient messages with an optional action |
| Tooltip | Plain and rich tooltips on hover or a long press |
| Component | Description |
|---|
| Tabs | Primary and secondary tab rows, fixed or scrollable |
| NavigationBar | An 80dp bottom destination bar with an animated indicator pill |
| NavigationRail | An 80dp side rail of destinations with an optional menu and FAB header |
| NavigationDrawer | A modal or standard side panel of destinations with sections and badges |