symfony/ux-twig-component

Twig components for Symfony

Maintainers

👁 fabpot

Package info

github.com/symfony/ux-twig-component

Homepage

Type:symfony-bundle

pkg:composer/symfony/ux-twig-component

Statistics

Installs: 18 038 271

Dependents: 158

Suggesters: 17

Stars: 219

v3.1.0 2026-05-29 07:08 UTC

Requires (Dev)

Suggests

None

Provides

None

Conflicts

Replaces

None

MIT 69763f39367d7185ebff3a8aec3e9d6ec7e10d55

twigcomponentssymfony-ux


README

Twig components give you the power to bind an object to a template, making it easier to render and reuse small template "units" - like an "alert", markup for a modal, or a category sidebar. A very simple example would be a reusable alert component:

👁 Example of the AlertComponent

This repository is a READ-ONLY sub-tree split. See https://github.com/symfony/ux to create issues or submit pull requests.

Sponsor

The Symfony UX packages are backed by Mercure.rocks.

Create real-time experiences in minutes! Mercure.rocks provides a realtime API service that is tightly integrated with Symfony: create UIs that update in live with UX Turbo, send notifications with the Notifier component, expose async APIs with API Platform and create low level stuffs with the Mercure component. We maintain and scale the complex infrastructure for you!

Help Symfony by sponsoring its development!

Resources