Data display

Badge

tag/pill/count · tint with semantic classes

Badge

Usage

Tint with a semantic class (bg-success + text-success-foreground), never a raw colour.

API

<Badge variant="default|secondary|destructive|outline" size?="sm|md"><Text /></Badge>

Get it

Already in every copy of the native kit:

import { Badge } from '@/components/ui/badge';

Details

Exports
Badge
Packages
@rn-primitives/slot@^1.5.2, class-variance-authority@^0.7.1
Installs with
@halftone-native/icon, @halftone-native/lib-component-classes, @halftone-native/lib-palette-context, @halftone-native/lib-theme, @halftone-native/lib-utils, @halftone-native/text
Also searched as
tag, chip, pill, count, status

Agents: the whole registry is at /llms.txt.