Forms
⚛️react
Official
Simple

Input

A form input component with validation support, icons, and various states. Includes text, password, and number variants.

92.0k downloads1.9k starsWCAG AAv2.2.0Updated 3/28/2024
Improve

Preview

Installation

npm install @uicomponents/input

Usage

Props

PropTypeDefaultDescription

Accessibility

WCAG Level

AA

Keyboard Support

Yes

Screen Reader

Yes

Keyboard Navigation

  • Tab to focus
  • Enter/Space to activate

Screen Reader Notes

The Input component announces its role and state to screen readers.

Focus Management

Focus is managed according to WAI-ARIA guidelines.

Customization

CSS Variables

VariableDefaultDescription

Changelog

v2.2.0

March 28, 2024
  • Feature
    Latest release

Community

Contributors

0 discussions
0 open issues
0 pull requests

Ready to use Input?

Copy the code above or explore more components in our library.

Explore More