GitHub

Input & Textarea

Text inputs and textareas for single-line and multi-line data entry.

Input

Text fields for single-line data entry. Can be used directly on an input or as a wrapper label for composition.

Input Basics

Preview

Input with Icons (Wrapper Mode)

Preview

Input Sizes

Preview

Input Variants

Preview

Input with Label & Validation

Preview
Email Please enter a valid email
Username Username is available

Floating Label

Preview
Full Name
Email Address
Filled Floating

Password Input

Preview

Textarea

Multi-line text input for longer content.

Textarea Basics

Preview

Textarea Sizes

Preview

Reference

Input Classes

Class Description
.inputBase input (on <input> or <label> wrapper)
.input-smSmall size (2.25rem)
.input-lgLarge size (3.25rem)
.input-filledFilled background variant
.input-ghostTransparent until focused
.input-underlineBottom border only
.input-errorError state (red border)
.input-successSuccess state (green border)
.input-labelLabel text above input
.input-helperHelper text below input
.input-error-textError message below input
.input-groupVertical field container
.input-floatingFloating label wrapper

Textarea Classes

Class Description
.textareaBase textarea
.textarea-smSmall (min-height 4rem)
.textarea-lgLarge (min-height 10rem)
.textarea-filledFilled background
.textarea-ghostTransparent
.textarea-no-resizeDisable resizing
.textarea-errorError state
.textarea-successSuccess state