Input

<BaseInput
type="text"
label="Name"
autocomplete="name"
placeholder="Enter your name"
/>

Props (9)

  • typeenumThe type of the input field
  • labelstringThe label of the input component
  • autocompleteenumThe native autocomplete token, used by browser autofill
  • placeholderstringThe placeholder text for the input
  • tooltipstringText of the tooltip shown via an info button next to the label
  • hintstringThe hint text shown below the input
  • errorstringThe error message shown below the input
  • booleanThe disabled state of the input
  • booleanWhether the input is required