35 lines
1.4 KiB
Markdown
35 lines
1.4 KiB
Markdown
# Twig Components
|
|
|
|
Twig components give you the power to bind an object to a template, making
|
|
it easier to render and re-use small template "units" - like an "alert",
|
|
markup for a modal, or a category sidebar. A very simple example
|
|
would be a re-usable alert component:
|
|
|
|

|
|
|
|
**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][1] by [Mercure.rocks][2].
|
|
|
|
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][3] its development!
|
|
|
|
## Resources
|
|
|
|
- [Documentation](https://symfony.com/bundles/ux-twig-component/current/index.html)
|
|
- [Report issues](https://github.com/symfony/ux/issues) and
|
|
[send Pull Requests](https://github.com/symfony/ux/pulls)
|
|
in the [main Symfony UX repository](https://github.com/symfony/ux)
|
|
|
|
[1]: https://symfony.com/backers
|
|
[2]: https://mercure.rocks
|
|
[3]: https://symfony.com/sponsor
|