Pseudo props: Overview | 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, please try gluestack-ui for better performance and new design.
Pseudo props: Overview
NativeBase provides a declarative way to add interaction or platform specific props.
Hover
Using _hover pseudo prop, we can customize the style of Pressable component on hover.
Hover
Playground
Pressed
Using _pressed pseudo prop, we can customize the style of Pressable component on pressed.
Pressed
Playground
Focus
Using _focus pseudo prop, we can customize the style of Pressable component on focus.
Focus
Playground
Platform specific styling
Using _web, _iOS, _android pseudo props, we can customize the style or behaviour of NativeBase components across platforms.
Save
Web
Save
Android
Save
iOS
Playground
Nativebase logo
MadeWithNativeBase
Gluestack logo
gluestack-ui