Twig Component

Symfony UX TwigComponent for reusable UI elements. Use when creating reusable Twig templates with PHP backing classes, component composition, props, slots/blocks, computed properties, or anonymous components. Triggers - twig component, AsTwigComponent, reusable template, component props, twig blocks, component slots, anonymous component, Symfony UX component, HTML component, component library, design system component, UI kit, reusable button, reusable card, PreMount, PostMount, mount method. Also trigger for any question about building a reusable piece of UI in Symfony, even if the user doesn't mention TwigComponent by name.

BKR-57 8b8a0a6 3 files · 28.6 KB Updated

File contents

BKR-57/symfony-ux-skills/tree/main/skills/twig-component commit 8b8a0a6e63

Frequently asked questions

npx skillmds@latest add bkr-57/twig-component