Skip to content

Form Field

A single-line input with label, hint and error.

Inputs6 variants5 statesLight + DarkWide · Medium · Compactv1.0
Live preview · click to try it

Variants

6 named variants. Layer names match the names below.

TextForm Field / Text
EmailForm Field / Email
PasswordForm Field / Password
SearchForm Field / Search
Use the client’s short name.
With HintForm Field / With Hint
With IconForm Field / With Icon

States

Form Field / Empty
Form Field / Focus
Form Field / Filled
Enter a project name to continue.
Form Field / Error
Form Field / Disabled

Usage

Do

  • Names, emails, short answers.

Don't

  • Long answers; use Textarea.

Properties

PropertyType or optionsDefault
VariantText · Email · Password · Search · With Hint · With IconText
LabelStringProject name
HintStringUse the client’s short name.
ErrorStringEnter a project name to continue.
DisabledBooleanOff

Styles it uses

Surface/FieldLine/StrongInk/PrimaryInk/SecondaryInk/MutedState/ErrorState/Focus

Text: Label · Field · Field Hint · Error

Accessibility

  • Keyboard reachable with a visible 3px State/Focus ring.
  • Interactive parts use real buttons and links with accessible names.

Create a free website with Framer, the website builder loved by startups, designers and agencies.