Zur Navigation Zum Inhalt Kontakt Menu Find component Overview Lyne 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 Table-Wrapper Info

What does the component do?

The Table-Wrapper is a wrapper for a table. Its aim is to extend the native table functions.

When should the component be used?

  • When using a native HTML table.
  • If a styled table is required.


  • Whenever a native HTML table is used. Especially if additional functions such as scrolling are required.
Anatomy of the component
Number Type Description Optional Info
1 Table-Header Yes
2 Row No
3 Column No


HTML-Markup kopiert.

The sbb-table-wrapper is a wrapper for a table. Its goal is to enhance/automate the native table capabilities.

Currently, it only handles overflow (vertical and horizontal).

  <table class="sbb-table">


See the Table style section.

The component has a negative variant which can be set with the self-named property.
Note: Due to technical limitations, consumer has to use set the negative property and the sbb-table--negative class.

<sbb-table-wrapper negative>
  <table class="sbb-table sbb-table--negative">


Always provide an accessible label for your tables via aria-label or aria-labelledby on the table element.

  <table class="sbb-table" aria-label="Table caption">


Name Attribute Privacy Type Default Description
negative negative public boolean false Negative coloring variant flag.


Name Description
Use the unnamed slot to add the table.
Imprint Contact Cookie settings