Skip to content

Text Input

The TextInput component handles single-line user input, with options for a label, caption, prefix/suffix affixes, validation states, and an info tooltip.

Playground

Installation

import { TextInput } from "@harnessio/ui/components";
<TextInput
label="Success Input"
id="someinput"
value="input with value"
placeholder="Enter the value"
theme="success"
/>;