Headless primitivesheadless

Form field

@xui/core/form-field

The wrapper that gives a control its label, hint and error text, and wires the aria relationships between them so a screen reader announces the three together.

Install

pnpm add @xui/core/form-field

Examples

This package has no Storybook story yet, so there is nothing to render here. The API below is still extracted from the source.

API

XFormFieldControl

directive

The token a control provides so a form field can find it.

Source

libs/core/form-field

xUI 2.0.0 — Apache 2.0 licensed. Built with Angular and Tailwind CSS.