UI32
47 Accordion48 Alerts49 Avatar50 Badge51 Breadcrumb52 Button53 Button Group54 Calendar55 Card56 Checkbox57 Collapsible58 Combobox59 Data Table60 Date Picker61 Dialog62 Dropdown Menu63 Form64 Input65 Input Mask66 Input OTP67 Pagination68 Popover69 Radio Group70 Select71 Sheet72 Slider73 Sonner74 Switch75 Table76 Tabs77 Textarea78 Tooltip
Charts1
01 Animated radial chart
Interactive3
02 Message dock03 Voice powered orb07 Draggable rope
AI1
13 AI voice input
Galleries3
04 Ruler carousel10 Portfolio gallery32 Hover image gallery
Heroes1
05 Video scroll hero
Shaders2
80 Aurora veil88 Kinetic dots
Tables5
06 Financial table43 Contacts table44 Leads table45 Resizable table46 Server management
Cards15
11 Video upload card16 Animated card options17 Animated card status list18 Audio upload card19 Bonuses incentives card20 Coach scheduling21 Dashboard card modal22 Event countdown card23 Hover detail card24 News cards25 Onboarding stages26 Prediction market card27 Product reveal card28 Profile hover card29 Project cards
Badges1
14 Animated status badge
Buttons1
15 Animated download
Controls1
31 Gradient selector
HUD7
09 HUD frame34 Glitchy 40435 Overlay 236 HUD button37 HUD graph38 HUD status40 Warning graphic
Text1
33 Reveal text
Components•Badge
Components•Badge

Badge

A compact status label for state, category, and metadata markers in dense interfaces.

Dependencies

Motionclass-variance-authorityclsxtailwind-merge

Copy below cli

npx shadcn add @bjork-ui/primitive-badge

How to use

import { BjorkBadge } from "@/components/bjork-ui/primitives";export function Demo() {  return <BjorkBadge variant="accent">Ready</BjorkBadge>;}

Props

variantdefault | secondary | outline | muted | accent

Controls emphasis from loud status to quiet metadata.

sizesm | md | lg

Keeps status labels aligned across tables, cards, and compact controls.

childrenReactNode

Accepts a label or icon plus label. Icons are normalized to the badge size.

PreviousAvatarNextBreadcrumb
Published

Default status

Use for high-contrast status where the label needs to be read immediately.

<BjorkBadge>  <Check aria-hidden="true" />  Published</BjorkBadge>
Waiting

Muted status

Use for passive state labels that should sit behind primary controls.

<BjorkBadge variant="muted">  <Clock aria-hidden="true" />  Waiting</BjorkBadge>
New

Accent status

Use sparingly for a fresh or active state. It shares the softened orange treatment.

<BjorkBadge variant="accent" size="md">  <Sparkles aria-hidden="true" />  New</BjorkBadge>
Queued

Secondary status

Use for solid metadata that should be quieter than the default white badge.

<BjorkBadge variant="secondary">  Queued</BjorkBadge>
Draft

Outline status

Use for draft and neutral states that need a boundary without a filled surface.

<BjorkBadge variant="outline">  Draft</BjorkBadge>
Small

Small badge

Use small badges inside table cells and dense rows.

<BjorkBadge size="sm" variant="outline">  Small</BjorkBadge>
Medium

Medium badge

Use medium as the default size for card headers and filter labels.

<BjorkBadge size="md" variant="accent">  Medium</BjorkBadge>
Large

Large badge

Use large for status rows that need stronger scan weight.

<BjorkBadge size="lg" variant="secondary">  Large</BjorkBadge>