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

ThemeSwitcher

A toggle component for switching between light and dark themes.

Icon Button

Simple icon button that toggles between light and dark mode.

Dropdown Variant

Dropdown menu with options for Light, Dark, and System preferences.

Custom Styling

In Navbar Example

Logo Home About Contact

Usage

<twig:ThemeSwitcher />

<twig:ThemeSwitcher variant="dropdown" />

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