useToken | NativeBase | Universal Components for React and React Native

Search
K
Hire us
Data Display
Typography
Disclosure
Media and Icons
Others
If you are starting a new project, we recommend using gluestack-ui. For your existing projects, you can utilize @gluestack-ui/themed-native-base (beta).
useToken
useToken resolves design tokens from the theme.
Import
Copy
import { useToken } from 'native-base';
Example
Playground
Quick Nav
Nativebase logo
MadeWithNativeBase