Skip to content

symfinity/ux-blocks

Repository files navigation

UX Blocks

Registry schema and shared test helpers for the Symfinity UX Blocks component family

PHP Version Symfony
CI
Release Downloads License

Note

Read-only mirror. See CONTRIBUTING.md for how to propose changes.

Features

  • Registry schema — shared data-ui-role and fragment vocabulary across tier packages
  • Tier role catalogs — canonical role lists for core, extended, interactive, and vertical packages
  • PHPUnit helpers — markup assertions for component packages in dev and test
  • Slim SDK boundary — Twig components ship in symfinity/ux-blocks-* packages
  • Symfony Flex recipe — bundle registered for all environments

Prerequisites

Add the symfinity/recipes Flex endpoint to your project's composer.json (see recipes README) — recipes are not in Symfony's official recipe repository yet.

Installation

composer require symfinity/ux-blocks

Usually installed as a dependency of a tier package. See Installation.

Quick Start

composer require symfinity/ux-blocks-core
<twig:PageHeading title="Dashboard" description="Welcome back." />
<twig:Button variant="default">Save</twig:Button>

See Quick start for PHPUnit markup assertions and tier pairing.

Install profiles

Pick the smallest profile that fits your app. See Install profiles in the handbook.

Full app UI — one line for the complete official catalog (core, form, extended, interactive, live):

composer require symfinity/ux-blocks-full

See Installation for headless, kernel-styled, and vertical tier choices.

Documentation

Requirements

  • PHP 8.2 or higher
  • Symfony 7.4 or 8.x

Support

License

MIT

About

Registry schema and shared test helpers for the Symfinity UX Blocks component family

Topics

Resources

License

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages