Zur NavigationZum InhaltKontaktMenuFind componentOverview LeanFind component
Basics
More Info
Brand
More Info
Divider
More Info
Icon
More Info
Text
More Info
Typografie
Components
More Info
Accordion
More Info
Autocompletion
More Info
Breadcrumb
More Info
Button
More Info
Buttonbar
More Info
Checkbox
More Info
Chip
More Info
Contextmenu
More Info
Datepicker
More Info
Dialog
More Info
Fieldset
More Info
Fileselector
More Info
Filter
More Info
Header
More Info
Link
More Info
Loading Indicator
More Info
Menuitem
More Info
Notification
More Info
Pagination
More Info
Processflow
More Info
Radiobutton
More Info
Select (Dropdown)
More Info
Sidebar
More Info
Slider
More Info
Status
More Info
Tab
More Info
Table
More Info
Tag
More Info
Textarea
More Info
Textexpand
More Info
Textfield
More Info
Timefield
More Info
Toggle
More Info
Tooltip
More Info
Tree
More Info
Usermenu
PrinciplesFoundationAccessibilityDesign SystemGuidelinesDeutschFrançaisItalianoEnglishOur design principlesUser-centredRecognisableInclusiveReducedHolisticSelf-explanatoryTask-orientedAppropriateSBB Brand portalLogoDigital clockRights of useBase colorsFunctional colorsOff brand colorsIconsTimetable iconsPictogramsAbout accessibilityÜber diesen GuideContactFurther informationProduct OwnerUser ResearchInteraction DesignVisual DesignDevelopmentContent DesignTestingWhat is a design system?DesigningCodingFAQHelpProcessContributionContactOverviewBaseComponentsOverviewReleasesDesign TokensComponentsOverviewBaseInformationenOverviewBaseComponentsSense & PurposeCommunity AssetsInstructionsApp IconsPower-AppsDigital banner adsSAP Design GuidelinesTextfield 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
Password entry
The entry field in the ‘password’ variant does not provide a ‘Placeholder’ status.