Getting Started
Foundations
Components
Search for a command to run...
Text inputs are fundamental form elements that support all standard HTML input types and attributes, making them versatile for various data entry needs such as text, email, password, numbers, and more. Inputs provide visual feedback for focus, validation states, and disabled states to guide users through data entry tasks.
Use inputs for collecting user information in forms, search interfaces, or any scenario requiring text-based data entry. Inputs should be paired with labels to clearly identify their purpose and improve accessibility. Consider using appropriate input types and validation attributes to enhance the user experience and data quality.
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.
CSS classes used by this component:
inputEnsure proper accessibility attributes are added when implementing this component.