Skip to content
Brok UI

Loading…

No results

Lint UI-106

no-raw-composite

Hand-built markup duplicates a composite Brok already ships (table, tabs, accordion, progress, switch, tooltip, dropdown). Use the matching component.

UI-106 default: warning adoption RAW_COMPOSITE

Configure

In the lint.rules block of ui.json. It accepts message, exclude, allow; see the policy for what the entries match.

ui.json JSON
"no-raw-composite": ["warning", { "message": "...", "exclude": ["resources/views/legacy/**"], "allow": [...] }]
terminal
php artisan ui:check --explain no-raw-composite

Suppress one line

blade
{{-- ui-lint-disable-next-line no-raw-composite: reason --}}