The brandLink target opens in a new window. SBB Brand portal Logo Digital clock Rights of useColors Base colors Additional colors Off brand colorsAssets Icons Timetable icons PictogramsLanguage About UX Writing Button and link texts Forms and inputs Notifications Progress indicators Digital word list
Introduction About accessibility About this guide Contact Further informationAccessibility by roles Product Owner User Research Interaction Design Visual Design Development Content Design Testing
First steps What is a design system? Designing Coding FAQ HelpOrganisation Process Contribution ContactMobile Overview Base ComponentsLyne Overview What is Lyne? Releases Presets & Themes Design Tokens Components TemplatesMaps Overview Base InformationsPatterns Overview
Regulations App IconsGuides Power-Apps Digital banner ads SAP Design Guidelines AI Design: Basics
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).
Variants
States
The component has the following states:
Default
Placeholder
Focused
Disabled
Error
Mandatory
Readonly
Variants
Default
Password entry
The entry field in the ‘password’ variant does not provide a ‘Placeholder’ status.
Clearable
Specifications
Link target opens in a new window.DesignLink target opens in a new window.Code