Skip to main content

Badge

Displays a badge or a component that looks like a badge.

PreviewDocs

Features

Multiple variants including default, secondary, destructive, and outline

Semantic color options for success, warning, info states

Perfect for status indicators, labels, and tags

Small and compact design that fits inline with text

Optional icon support for enhanced visual communication

Fully customizable with Tailwind CSS utilities

Shadcn/ui Badge - Figma Component

Displays a badge or a component that looks like a badge. This Figma component is part of our comprehensive design system that brings the popular shadcn/ui library into your design workflow.

Every Badge variant includes all the necessary states, properties, and styling options you need to create consistent, production-ready designs. The component seamlessly integrates with your existing Figma files and maintains full compatibility with the shadcn/ui React implementation.

Your questions, answered

Badge colors and variants in Figma

The shadcn/ui figma Badge includes semantic colors—green for success, red for errors, yellow for warnings. Design consistent status indicators in Figma using the right variant for each state. This shadcn figma component matches the code colors exactly.

Using badges for status

Design status badges in Figma for tables, cards, and lists. The shadcn/ui figma Badge component includes all the variants you need—default, secondary, outline, and destructive. Place them consistently in your designs so users know where to look for status.

Badge text and sizing

Keep badge text short in your Figma designs—"New", "Pro", or "3 items". The shadcn figma Badge is designed for 1-3 words maximum. Test your designs at real size to ensure badges are readable and don't overpower your content.

Shadcn Figma Badge variants

This shadcn/ui figma Badge component includes 6 variants matching the React implementation. Design complete interfaces in Figma with proper status indicators, and developers can implement them using the exact same shadcn/ui Badge variants.