A focused library for building and rendering structured HTML attributes
Type-safe helpers and value objects to compose complex attribute structures (classes, data-attributes, ARIA, etc.).
composer require ui-awesome/html-attribute:^0.3Below are concise examples showing common attribute tasks.
<?php
declare(strict_types=1);
namespace App;
use UIAwesome\Html\Attribute\Media\{HasAlt, HasSrc};
final class ImageComponent
{
use HasAlt;
use HasSrc;
}For detailed configuration options and advanced usage see: