Input

A flexible component to deliver the most common types of input fields

Props

Prop nameTypeDefaultDescription
classNamestringnullA custom className you would like to pass to the Component
placeholderstringnullThe placeholder text for the Input
typeenum'text'The type of input field
childrenunionRequiredThe label text for the input
idstringRequiredThe unique identifier for the Input

Types

Text

Email

Phone

Number

Date

Search