Zur Navigation Zum Inhalt Kontakt Menu Find component Overview Lean Principles Foundation Accessibility Design System Guidelines Deutsch Français Italiano English Our design principles User-centred Recognisable Inclusive Reduced Holistic Self-explanatory Task-oriented Appropriate SBB Brand portal Logo Digital clock Rights of use Base colors Functional colors Off brand colors Icons Timetable icons Pictograms About accessibility Über diesen Guide Contact Further information Product Owner User Research Interaction Design Visual Design Development Content Design Testing What is a design system? Designing Coding FAQ Help Process Contribution Contact Overview Base Components Overview Releases Design Tokens Komponenten Overview Base Informationen Overview Base Components Sense & Purpose Community Assets Instructions Power-Apps Digital banner ads SAP Design Guidelines App Icons Textfield Overview

What does the component do?

  • It is used for the entry of text and numbers.

When should the component be used?

  • When an entry is required from the user.

Rules

  • An entry field always has a label.
  • A question mark in the circle can also be shown – in addition to the label – for detailed explanations. A tooltip opens when this question mark is clicked on.
  • The entry text is always single-line.
  • If the text becomes longer than the width of the entry field during the entry, the text entered is pushed to the left so that what is currently being written can always be seen.
  • After leaving the entry field with a long text, this is cut off at the end and designated with “…”.
  • An entry field can contain a placeholder which is shown directly in the entry field provided no value has been entered by the user.
  • If the user can never edit a form field, no entry field can be used (display as text).
States and variants

States

The component has the following states:

  • Default
  • Placeholder
  • Focused
  • Disabled
  • Error
  • Mandatory
  • Readonly

Variants

Default

Image of a text field, default

Password entry

Image of a text field, password
* The entry field in the ‘password’ variant does not provide a ‘Placeholder’ status.{.lead}

Clearable

Image of a text field, clearable

Specifications

DesignCode

Find component

Lean

Basics Brand Brand Divider Divider Icon Icon Text Text Typografie Typografie Components Accordion Accordion Autocompletion Autocompletion Breadcrumb Breadcrumb Button Button Buttonbar Buttonbar Checkbox Checkbox Chip Chip Contextmenu Contextmenu Datepicker Datepicker Dialog Dialog Fieldset Fieldset Fileselector Fileselector Filter Filter Header Header Link Link Loading Indicator Loading Indicator Menuitem Menuitem Notification Notification Pagination Pagination Processflow Processflow Radiobutton Radiobutton Select (Dropdown) Select (Dropdown) Sidebar Sidebar Slider Slider Status Status Tab Tab Table Table Tag Tag Textarea Textarea Textexpand Textexpand Textfield Textfield Timefield Timefield Toggle Toggle Tooltip Tooltip Tree Tree Usermenu Usermenu
Imprint Contact Cookie settings