Skip to main content

Input

function InputExample() {
  return <Input defaultValue="Hello World" size="medium" />;
}

Props

endAdornment

TypeReactNode
Element displayed at the end of the input field.

error

Typeboolean
Defaultfalse
Renders the input in an error state.

size

TypeItemSize
Default'medium'
Specifies the size of the input field. Can be 'small', 'medium', or 'large'.

startAdornment

TypeReactNode
Element displayed at the start of the input field.