Getting Started
Foundations
Components
Search for a command to run...
Input fields are fundamental form elements used to collect user information. They support various input types (text, email, password, number, etc.) and include built-in browser validation. Inputs are commonly used in forms, search bars, and anywhere users need to provide textual data.
The component automatically handles focus states, hover effects, and disabled states with appropriate visual feedback. It integrates seamlessly with form libraries and supports all standard HTML input attributes.
import { Input } from "@strongtie/design-system/input"All components accept standard HTML attributes and React props.
Components can be styled using the className prop. The design system uses Tailwind CSS for styling.
The following data attributes are used to identify component parts:
inputOther CSS classes used by this component:
inputEnsure proper accessibility attributes are added when implementing this component.