Badge | NativeBase | Universal Components for React and React Native

Search
K
Hire us
Please opt in to our enterprise plan (coming soon) for priority support with NativeBase. 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).
Badge
Badges are used to highlight an item's status for quick recognition.
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: "outline" | "solid" | "subtle"
Default: subtle
colorScheme
The color scheme to use for the badge. Must be a key in theme.colors.
Type: string
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