randomseeds logo
Random Design System

Input

A single-line text input for forms and data entry.

Default

With Label

States

Types

Usage

Always pair inputs with a visible label for accessibility. Use placeholder text as a hint, not a replacement for labels.

For multi-line text, use the Textarea component instead.

Props

PropTypeDefaultDescription
typestring"text"HTML input type
placeholderstringPlaceholder text
disabledbooleanfalseDisables the input
classNamestringAdditional CSS classes