Text fields.

A text field takes what a person types: an email, a phone number, a password, an amount. Its label always sits on top and its error says how to fix it.

Available Updated December 3, 2026

in use across Flouvia: Contact, the portal sign-in, Ops and Conversations. Code in Cuenca, private until v1.

Availability

  • Astro In use Contact and the Vault
  • React In use The portal, Ops and Conversations
  • Liquid Ready Shopify themes
  • Figma Soon Cuenca kit for Figma
cuenca.flouvia.com

The full spec, with its API, in the Cuenca guide

Usage

A field asks for one value at a time, with the label that names it and the type that fits it.

Keep the label on top and always visible

The label is required: a field without one doesn’t build. The example inside disappears as you type, so it never replaces it.

Do: The label on top and a real example inside.
Don’t: The example instead of the label: once you type, it’s gone.

Ask for each value’s type

The type brings that value’s keyboard, autofill and check: the email, the phone with its country code, the website, the password with its eye, the amount or the code.

Do: The phone with its country code: the number pad and the country apart.

Don’t: A phone number as free text, with the country code typed by hand.

Ask for an amount in the number field

A budget, a price, a percentage or a figure with its unit go in the number field: it writes its separators, shows its currency, checks its range and submits the plain figure. The text field’s amount is for a figure that isn’t formatted.

Do: The budget in the number field: the currency in view and separators on their own.
Don’t: The budget in a text field, with the “$” and commas typed by hand.

Ask for one option among many in the combo box

A client, a time zone or a teammate is chosen from its list: the combo box suggests as you type and submits an option that exists. The text field is for what isn’t on any list.

Do: The client chosen in the combo box: it exists and arrives with its ID.
Don’t: The client typed by hand: it arrives as typed, whether it exists or not.

Mark what’s optional

Almost everything you ask for is needed: the field that isn’t required says “optional” next to its label, and nothing carries an asterisk.

Do: “optional” on the only one that is.
Don’t: An asterisk on every required field.

Say what’s missing and how to fix it

The error appears when you leave the field, if you typed in it, and on submit; never while typing, and it clears as soon as the value is valid. On submit with errors, focus goes to the first one and a summary says how many are left.

Enter the full email, with its domain.

Do: The error says what’s missing and how to fix it.

Invalid format.

Don’t: The error only says something is wrong.

Use the size of its place

large in forms (contact, sign-in, a new client), medium in the portal’s bars and tables and small in Ops’ dense bars. Each size goes with the button of its height.

Do: One size in a form.

Don’t: Mixed sizes in the same form.

Content

The label names, the example shows the format, the help says what’s needed and the error says how to fix it.

  • The label

    A short noun, with no colon: Email, Phone, Company.

  • The example

    A real value with its format, never the instruction: name@company.com, 555 123 4567.

  • The help

    One line with what you need to know before typing: At least 12 characters.

  • The error

    What’s missing and how to fix it, in one sentence: Enter the full email, with its domain.

  • The prefix and the suffix

    What goes with the value without being part of it: https://, a unit. Read-only, the suffix stays next to its value, a word space apart: 24 h.

Do

  • Email
  • name@company.com
  • At least 12 characters.
  • Enter the full email, with its domain.

Don’t

  • Email:
  • Enter your email here
  • Required field
  • Invalid format

Languages

The field’s own texts come in Spanish and English; each page’s texts come from its copy, in both languages.

  • Its own texts

    “optional”, “Show password”, “Clear search”, “Country code” and the error summary come in Spanish and English; the field writes them in its language.

  • Errors and the counter

    They’re said in the language of the nearest field or form, and if they don’t carry one, in the page’s.

  • The country code

    It’s picked from a list of the 247 countries in ISO 3166-1, named in the page’s language. The page sets it with `country`; it’s never guessed.

Changes

  • Combo box · Cuenca

    New guide: when to use it instead of a select or a search field, the highlighted and the selected option, several as chips, its states and what screen readers hear, with its pieces. Text fields, Selection and Menus and popovers point to it for one option among many.

  • Number field · Cuenca

    New guide: when to use it instead of a text field, the currency and its picker, formatting as you type and how its units, decimals and range are written, with live pieces. Text fields asks for it for an amount, and its suffix stays next to its value when read-only; Slider, for an exact value.

  • Text fields · Cuenca

    Available: in use across Contact, the portal sign-in, Ops and Conversations, with Astro and React.

  • Text fields · Cuenca

    New guide on the component template: usage, content and languages, and the full spec in Cuenca.

Figma is a trademark of its owner; its logo appears only to show compatibility and does not imply endorsement.