useToken | NativeBase | Universal Components for React and React Native

Search
K
Hire us
Data Display
Typography
Disclosure
Media and Icons
Others
IMPORTANT MESSAGE — If you are starting a new project with NativeBase, we recommend using gluestack-ui instead.
Explore gluestack-ui
useToken
useToken resolves design tokens from the theme.
Import
Copy
import { useToken } from 'native-base';
Example
Playground
Quick Nav
Nativebase logo
MadeWithNativeBase