Badge
import { Badge } from 'theme-ui'
Badge
Components NewCool

16
Variants
Badge variants can be defined in theme.badges
.
The Badge component uses theme.badges.primary
as its default variant.
Edit the page on GitHub// example theme variants{badges: {primary: {color: 'background',bg: 'primary',},outline: {color: 'primary',bg: 'transparent',boxShadow: 'inset 0 0 0 1px',},},}