Swarm Design System Documentation
TextInput
A wrapper for an html <input>
element with an optional <label>
tag.
Snippet
Use this interactive snippet to try the component:
<TextInput id="input" value="phife dawg two" />
Props
a11y
Keyboard interactions: n/a
Must supply a label html tag with an `htmlFor` React attribute that equals the value of the textInput's id.
Examples
36