Text Field - Single line

Single line text fields do not float their label on focus or with data.

Text Field - Shaped

shaped text fields are rounded if they're outlined and have higher border-radius if filled.

Text Field - Disabled and readonly

Text fields can be disabled or readonly.

Text Field - Dense

You can reduces the text field height with dense prop.

Text Field - Icons

You can add icons to the text field with prepend-icon, append-icon and append-outer-icon props.

Text Field - Clearable

When clearable, you can customize the clear icon with clear-icon.

Text Field - Character counter

Use a counter prop to inform a user of the character limit. The counter does not perform any validation by itself. You will need to pair it with either the internal validation system, or a 3rd party library. You can use it on regular, box or outlined text fields.

Text Field - Auto hiding details

When hide-details is set to auto messages will be rendered only if there's a message (hint, error message, counter value etc) to display.

Text Field - Password input

A password input can be used with an appended icon and callback to control the visibility.

Text Field - Box style

Text fields can be used with an alternative box design. Append and prepend icon props are not supported in this mode.

Text Field - Solo style

Text fields can be used with an alternative solo design.

Text Field - Outlined style

Text fields can be used with an alternative outlined design.

Text Field - Custom colors

You can optionally change a text field into any color in the Material design palette. Below is an example implementation of a custom form with validation.

Text Field - Hint text

The hint property on text fields adds the provided string beneath the text field. Using persistent-hint keeps the hint visible when the text field is not focused. Hint prop is not supported in solo mode.

Text Field - Prefixes & suffixes

The prefix and suffix properties allows you to prepend and append inline non-modifiable text next to the text field.

Prefix for dollar currency
$
Suffix for weight
lbs
Suffix for email domain
@gmail.com
Suffix for time zone
PST
Text Field - Icon events

click:prepend, click:append, click:append-outer, and click:clear will be emitted when you click on the respective icon. Note that these events will not be fired if the slot is used instead.

Text Field - Icon slots

Instead of using prepend / append / append-outer icons you can use slots to extend input's functionality.

Text Field - Label slot

Text field label can be defined in label slot - that will allow to use HTML content

Text Field - Validation

Vuetify includes simple validation through the rules prop. The prop accepts an array of callbacks. While validating rules, the current v-model value will be passed to the callback. This callback should return either true or a String, the error message.

Text Field - Full-width text field with character counter

Full width text fields allow you to create boundless inputs. In this example, we use a v-divider to separate the fields.

Trevor Handsen
Text Field - Progress bar

You can display a progress bar instead of the bottom line. You can use the default indeterminate progress having same color as the text field or designate a custom one using the progress slot