Skip to content

Tabler UX Components

Tabler-flavored Twig components for Symfony. One tag for the common case, sub-components and blocks when you need control — the shadcn way.

shadcn composition

An all-in-one tag (<twig:Tabler:Card title="…" />) and, where it makes sense, dedicated sub-components (<twig:Tabler:Card:Header>, <twig:Tabler:Card:Body>…).

Block-mirrored props

On composite components, each prop has a matching Twig block: override one without rewriting the rest.

html_cva() variants

Classes are declared with html_cva(), Twig’s take on shadcn’s CVA.

Plain Tabler markup

Components render Tabler and Bootstrap 5 classes; the interactive ones use the data-bs-* JavaScript of tabler.js.

Attribute forwarding

Extra attributes (class, id, data-*…) are merged onto the root element.

Template-only

Anonymous Twig components: no PHP classes to register or configure.