- Add the symfinity/recipes Flex endpoint to your project's
composer.json(see recipes README). - Install core, form, and extended tiers first — interactive widgets compose their primitives:
composer require symfinity/ux-blocks-core symfinity/ux-blocks-form symfinity/ux-blocks-extended- For styled apps, install ui-kernel (theme CSS). The registry SDK
symfinity/ux-blocksis pulled transitively from Packagist.
composer require symfinity/ui-kernel # optional — themed apps onlySee UX Blocks install profiles for tier choices.
composer require symfinity/ux-blocks-interactiveThe 0.1 recipe applies:
- Registers
SymfinityUxBlocksInteractiveBundlefor all environments - Wires AssetMapper paths, Twig namespaces, and UX Twig components
- Optionally imports
theme-scheme.yamlroutes when ui-kernel is present (forSchemeSwitch)
When Flex is unavailable:
composer require symfinity/ux-blocks symfinity/ux-blocks-core symfinity/ux-blocks-form symfinity/ux-blocks-extended symfinity/ux-blocks-interactive- Register
Symfinity\UxBlocksInteractive\SymfinityUxBlocksInteractiveBundleinconfig/bundles.php - Ensure AssetMapper, Stimulus, and UX Twig Component bundles are enabled
php bin/console debug:container --tag=twig.component | grep -i DropdownMenu