When to use this component

Use the text input component when you need to let users enter text that’s no longer than a single line, such as their name or phone number.

Formatted example
HTML code
<label for="event-name">
    What is the name of the event?
</label>
<input class="input" id="event-name" name="event-name" type="text">