Zur Navigation Zum Inhalt Kontakt Menu Find component Overview Mobile 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 Components Roadmap Overview Base Informationen Overview Base Components Sense & Purpose Community Assets Instructions App Icons Power-Apps Digital banner ads SAP Design Guidelines 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)
States and 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

Find component

Mobile

Basics Brand Brand Image Image Typography Typography Components Button Button Checkbox Checkbox Chip Chip Container Container Context menu Context menu Dropdown Dropdown Header Header List item List item List view List view Loading indicator Loading indicator Message Message Modal view Modal view Notification Box Notification Box Pagination Pagination Picker Picker Promotion-Box Promotion-Box Radiobutton Radiobutton Segmented button Segmented button Slider Slider Status Status Switch Switch Tabbar Tabbar Text input Text input Textarea Textarea Toast Toast Up dn counter Up dn counter
Imprint Contact Data privacy Cookie settings