useToken | NativeBase | Universal Components for React and React Native

Search
K
Hire us
IMPORTANT MESSAGE — If you are starting a new project with NativeBase, we recommend using gluestack-ui instead.
Explore gluestack-ui
useToken
useToken is a custom hook used to resolve design tokens from the theme.
Import
Copy
import { useToken } from 'native-base';
Example
Playground
Quick Nav
Nativebase logo
MadeWithNativeBase