Primitive 11 / Validation editor

Validation rules editor

Each rule is an aria-pressed chip with a status dot and an optional hint constant — required, regex, min / max length, min / max value, file size, file type, email + AU phone formats. Composable with AND.

Production answer

Validation rules editor is a reusable Oak Flats Muffler Men UI primitive with documented states, accessibility expectations, theme behavior, and implementation evidence.

Primary CTAReview Validation rules editor states
Generative search brief

Validation rules editor: Each rule is an aria-pressed chip with a status dot and an optional hint constant — required, regex, min / max length, min / max value, file size, file type, email + AU phone formats. Composable with AND.

Live primitive — rules for “Vehicle photos”
Validation rules

Validation

Suggestions tuned for the file-upload type.

Rules combine with AND — all enabled rules must pass.