Badge | NativeBase | Universal Components for React and React Native

Search
K
Hire us
Resources
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.
Badge
Badges allow the highlighting of an item’s status. This provides quick recognition.
Show Code
Playground
Import
Copy
import { Badge } from 'native-base';
Examples
Basic
Playground
Color Scheme
Playground
Variants
Playground
Composition
Playground
Props
variant
The style variant of the badge.
Type: any
Default: subtle
colorScheme
The color scheme to use for the badge. Must be a key in theme.colors.
Type: any
Styling
NativeBase ships with a default theme for each component. Check out the default theme of the badge.
Info: We can easily extend the badge component theme using extendTheme function as described in the documentation .
Nativebase logo
MadeWithNativeBase
Gluestack logo
gluestack-ui