1715 1061 1210 1277 1612 1641 1266 1778 1250 1855 1177 1791 1156 1397 1386 1950 1144 1149 1726 1036 1248 1054 1552 1734 1693 1546 1633 1628 1239 1335 1946 1672 1593 1311 1091 1954 1078 1026 1614 1461 1896 1699 1848 1460 1340 1233 1313 1089 1177 1729 1248 1962 1111 1976 1618 1457 1384 1797 1377 1491 1430 1812 1304 1665 1418 1221 1614 1405 1834 1296 1984 1606 1762 1867 1236 1536 1443 1874 1139 1815 1827 1834 1945 1292 1281 1457 1220 1340 1778 1352 1421 1593 1432 1485 1733 1949 1113 1310 1449 Hello ux.symfony.com & 4 New UX Components | PHPnews.io

PHPnews.io

Hello ux.symfony.com & 4 New UX Components

Written by Symfony blog / Original link on Jun. 21, 2022

I love Symfony UX. And last week during Symfony World Online, I had the pleasure to talk about it and reveal several new things that we're super excited about!

Note

To get all the details, we've made the Symfony UX: New Components, Live Twig & More Updates available for anyone to watch free.

But first, What is Symfony UX? anyways? I've come to this short definition. It's (1) a Stimulus integration with your app & (2) a plugin system for extra Stimulus controllers to solve common problems, like rendering charts, cropping images and more.

18 months after Symfony UX was still released, we're adding new UX packages to solve new problems. In fact, we've just released four new components:

But, as much as I love Symfony UX, I think we've done a poor job talking about and promoting it. After all, JavaScript tools are meant to be seen and played with!

Enter: ux.symfony.com

To solve this, we've just launched https://ux.symfony.com: a playground for touching and sampling each UX component. See what it feels like to work inside a <turbo-frame> or send real-time page updates with Turbo! Try out the Ajax-powered autocomplete component, see a React component rendered in Twig or try the Image Cropper in real life.

One of the most interesting sections is about Live Components: a "Swiss army knife" library that allows you to create highly-interactive interfaces with zero JavaScript. We've already released several demos that show the power of this component, including rendering CollectionType forms (with add/remove buttons), "dependent form fields" and real-time form validation entirely by writing PHP and Twig: no custom JavaScript needed.

The new ux.symfony.com site itself is also open source and written using all of the UX tools. It's another great way to see real code behind solving real problems.

Have fun!

Sponsor the Symfony project.

symfony

« Getting started with Laravel Scout and Meilisearch - A Laravel package to onboard your users »