zynactradocs

Badge

Short status and metadata labels, set in mono capitals.

BadgeSecondaryDestructiveOutline

Zynactra

Zynactra adds the brand, success and warning variants.

Usage

import { Badge } from "@zynactra/ui/badge"
<Badge variant="default | outline | secondary | destructive">Badge</Badge>

Examples

Variants

OwnerDraftv2.4.0NewLivePendingFailed

Guidelines

  • brand marks something new or in progress, sparingly.
  • success, warning and destructive are status. Pair them with a dot or an icon when color is the only cue.
  • Keep badge text to one or two words.
Edit on GitHub

On this page