TwigcnBundle
Components
Components

Form

  • Button
  • Checkbox
  • Choice Card
  • Combobox
  • Field
  • Input
  • Input Group
  • Label
  • Radio Group
  • Select
  • Switch
  • Textarea

Layout

  • Accordion
  • Breadcrumb
  • Button Group
  • Card
  • Pagination
  • Sidebar
  • Table
  • Tabs

Overlay

  • Alert Dialog
  • Command
  • Dialog
  • Drawer
  • Dropdown Menu
  • Popover
  • Tooltip

Feedback

  • Alert
  • Avatar
  • Badge
  • Carousel
  • Empty
  • Item
  • Kbd
  • Progress
  • Skeleton
  • Spinner
  • Theme Switcher
  • Toast
  • Accordion
  • Alert
  • Alert Dialog
  • Avatar
  • Badge
  • Breadcrumb
  • Button
  • Button Group
  • Card
  • Carousel
  • Checkbox
  • Choice Card
  • Combobox
  • Command
  • Dialog
  • Drawer
  • Dropdown Menu
  • Empty
  • Field
  • Input
  • Input Group
  • Item
  • Kbd
  • Label
  • Pagination
  • Popover
  • Progress
  • Radio Group
  • Select
  • Sidebar
  • Skeleton
  • Spinner
  • Switch
  • Table
  • Tabs
  • Textarea
  • Theme Switcher
  • Toast
  • Tooltip

Badge

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

Variants

Primary Secondary Destructive Outline

With Icons

Success Pending Error Info

Status Examples

Draft In Review Published Rejected

In Context

Inbox
12
Documents
8

Usage

<twig:Badge>Primary</twig:Badge>
<twig:Badge variant="secondary">Secondary</twig:Badge>
<twig:Badge variant="destructive">Destructive</twig:Badge>
<twig:Badge variant="outline">Outline</twig:Badge>

<twig:Badge>
    <twig:ux:icon name="lucide:check" />
    Success
</twig:Badge>

© 2026 TwigcnBundle. Built with Symfony, Tailwind CSS & Stimulus.