structyl

Input

stable

A styled text input with focus ring and invalid state.

Basic usage

Examples

States

Input with disabled and invalid (aria-invalid) states.

Native input states

Input forwards native props and styles disabled plus invalid states.

Features

  • Hover and focus transitions.
  • aria-invalid styling.
  • Wraps the native input.

Installation

bash
pnpm dlx structyl add input

API Reference

Input API reference

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

View API
Input | structyl