--- layout: layouts/component.njk title: Input description: Displays a form input field or a component that looks like an input field. toc: - label: Usage id: usage --- {% from "macros/code_preview.njk" import code_preview %} {% from "macros/code_block.njk" import code_block %} {% set code %}

This is your public display name.

You can manage email addresses in your email settings.

You can @mention other users and organizations.

Your date of birth is used to calculate your age.

Email Notifications

Receive emails about new products, features, and more.

Receive emails about your account security.

{% endset %} {{ code_preview("input", code, "w-full max-w-sm") }}

Usage

Adding the form class to the parent of any form element (<label>, <input>, <textarea>, <select>) will automatically apply the style you would get from adding label, input, textarea, or select classes. Read more about Label, Input, Textarea, and Select.

{{ code_block(code) }}