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 Additional 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 Components Overview Base Informations Overview Base Components Overview App Icons Power-Apps Digital banner ads SAP Design Guidelines AI Design: Basics Text-Input 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 from the user is required.

Rules

  • Optional entries include the text ‘(optional)’ behind the label text. For short fields, the text ‘(optional)’ can be abbreviated to ‘(opt.)’.
  • If the text becomes longer than the width of the entry field when being entered, the written text is moved to the left so that what is currently being written can always be seen.
  • After leaving the entry field with a long text, it is cut off at the end and designated with “…”.
  • If the user can never edit a form field, no entry field may be used (display as text).
  • The right type of keyboard must be selected depending on the type of entry field (default, e-mail, URL, phone)
Variants

States

The component has the following states:

  • Default
  • Active
  • Error
  • Disabled

Variants

The component has the following variants:

  • listed / boxed
  • with icon / without icon
  • with label / without label

Listed, with label, without icons

Default

Image of a text input, with label, without icons, default
Image of a text input, with label, without icons, default

Placeholder

Image of a text input, with label, without icons, placeholder
Image of a text input, with label, without icons, placeholder

Listed, with label, with icons

Default

Image of a text input, with label, with icons, default
Image of a text input, with label, with icons, default

Placeholder

Image of a text input, with label, with icons, placeholder
Image of a text input, with label, with icons, placeholder

Listed, without label, with icons

Default

Image of a text input, without label, with icons, default
Image of a text input, without label, with icons, default

Placeholder

Image of a text input, without label, with icons, placeholder
Image of a text input, without label, with icons, placeholder

Boxed, with label, without icons

Default

Image of a boxed text input, with label, without icons, default
Image of a boxed text input, with label, without icons, default

Placeholder

Image of a boxed text input, with label, without icons, placeholder
Image of a boxed text input, with label, without icons, placeholder

Boxed, with label, with icons

Default

Image of a boxed text input, with label, with icons, default
Image of a boxed text input, with label, with icons, default

Placeholder

Image of a boxed text input, with label, with icons, placeholder
Image of a boxed text input, with label, with icons, placeholder

Boxed, without label, with icons

Default

Image of a boxed text input, without label, with icons, default
Image of a boxed text input, without label, with icons, default

Placeholder

Image of a boxed text input, without label, with icons, placeholder
Image of a boxed text input, without label, with icons, placeholder

Specification

Design