This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.

Expo Router Color

An Expo Router API for accessing platform-specific native colors.

Android
iOS
Recommended version:
~56.2.21

The Color API provides access to platform-specific native colors.

Usage

import { Color } from 'expo-router'; import { Text, View, useColorScheme } from 'react-native'; export default function MyComponent() { useColorScheme(); return ( <View style={{ flex: 1, backgroundColor: Color.android.dynamic.primary }}> <Text style={{ color: Color.ios.label }}>Hello</Text> </View> ); }

API

import { Color } from 'expo-router';

No API data file found, sorry!