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

Avatar

An image element with a fallback for representing the user.

Default

@shadcn

Sizes

User Small
User Default
User Large
User XL

Fallback

JD JS AB ?

With Text

shadcn

shadcn

@shadcn

JD

John Doe

john@example.com

Avatar Group

User 1 JD JS +3

Usage

<twig:Avatar src="https://example.com/avatar.jpg" alt="John Doe" />

<twig:Avatar alt="John Doe" />

<twig:Avatar fallback="JD" />

<twig:Avatar size="sm" src="..." alt="User" />
<twig:Avatar size="lg" src="..." alt="User" />
<twig:Avatar size="xl" src="..." alt="User" />

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