You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
React Native components that match the Radix Themes API exactly. Same props, same variants, same design tokens — built for React Native with zero production dependencies.
If you know Radix Themes on web, you already know Radix Native.
Features
Identical API to @radix-ui/themes — same component names, same props, same variants
import{Theme,Text,Button,Flex,Avatar,Badge}from'radix-native'exportdefaultfunctionApp(){return(<ThemeaccentColor="indigo"appearance="dark"><Flexdirection="row"gap={3}align="center"p={4}><Avatarsrc="https://example.com/photo.jpg"fallback="JD"size={5}/><Flexgap={1}><Textsize={4}weight="bold">
John Doe
</Text><Badgevariant="soft"color="green">
Active
</Badge></Flex><Buttonvariant="soft"ml="auto">
Edit
</Button></Flex></Theme>)}
Components
Layout
Component
Description
Box
Base container with padding, margin, and dimension props
Flex
Flexbox container with direction, align, justify, gap
Grid
Equal-width column grid with wrapping
Separator
Visual divider (horizontal/vertical)
Card
Container with background, border, and optional press behavior
Typography
Component
Description
Text
Body text with size (1–9), weight, color, alignment
Heading
Section headings with tighter line-heights
Link
Pressable text with underline control
Blockquote
Block quote with left accent border
Code
Inline code with solid, soft, outline, ghost variants
Kbd
Keyboard key indicator
Em
Italic emphasis
Strong
Bold emphasis
Quote
Inline quotation with curly quotes
Display
Component
Description
Avatar
Profile picture with image loading state, fallback text/icon
Badge
Annotation label with 4 variants
Actions
Component
Description
Button
6 variants, 4 sizes, loading state with dimension preservation
IconButton
Square button for icons, auto-passes color to children
Checkbox
Toggle with View-based check/dash indicator
CheckboxGroup
Compound Root + Item for labeled checkbox groups
CheckboxCards
Card-style checkbox grid
Switch
Toggle with animated thumb (bezier easing)
Radio
Radio button with dot indicator
RadioGroup
Compound Root + Item for labeled radio groups
RadioCards
Card-style radio selection (border indicator)
Feedback
Component
Description
Spinner
8-leaf staggered fade animation
Progress
Determinate + indeterminate bar with variant colors
Forms
Component
Description
TextField
Single-line text input with 3 variants and disabled state
Resolve color tokens to hex — useColor('accent', 9) or useColor('gray-1')
useResolveSpace()
Resolve spacing tokens to pixels
useMargins()
Resolve margin props to memoized ViewStyle
usePressScale()
Subtle scale animation on press for custom components
Design Tokens
Spacing
Token
0
1
2
3
4
5
6
7
8
9
px
0
4
8
12
16
24
32
40
48
64
Typography
Size
1
2
3
4
5
6
7
8
9
fontSize
12
14
16
18
20
24
28
35
60
lineHeight
16
20
24
26
28
30
36
40
60
Color System
31 scales from @radix-ui/colors — 26 accent + 6 gray. Each scale has 12 solid steps, 12 alpha steps, plus contrast and surface tokens in both light and dark modes.
Differences from Radix Web
Feature
Radix Web
Radix Native
Styling
CSS variables + classes
Pure RN StyleSheet
Color resolution
var(--accent-9)
useColor('accent', 9) hook
Margin props
CSS classes via extractProps
useMargins hook
Responsive props
{ initial, sm, md }
Single values
asChild / Slot
Supported
Not yet
Press feedback
CSS :active
usePressScale animation
Flex default
row (CSS)
column (mobile-first)
Separator thickness
1px CSS
StyleSheet.hairlineWidth
fonts prop
N/A
Custom font families per weight
See packages/radix-native/llm/differences.md for the complete comparison.
Documentation
LLM Skills: packages/radix-native/llm/ — 33 markdown files for AI assistants
MDX Docs: docs/content/ — 35 MDX pages ready for Astro/Next.js
CLAUDE.md: packages/radix-native/CLAUDE.md — AI coding guide
Development
Monorepo powered by Turborepo + Yarn 4 Berry.
yarn install # Install dependencies
yarn build # Build the librarycd apps/example # Start the playground
yarn ios # or yarn android
yarn generate:colors # Regenerate color tokens
yarn typecheck # Type checking