structyl

Form

stable

A form with declarative validation built on native ValidityState.

Basic usage

Examples

Login form

A complete login form with email, password, and validation messages.

Validation states

Form coordinates labels, controls and native ValidityState messages.

Features

  • Built-in and custom matchers.
  • Accessible error messages.

Installation

bash
pnpm dlx structyl add form

API Reference

Form API reference

Full props, types, defaults, and all 7 parts.

View API
Form | structyl