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 Base Components Overview Base Components Overview Design Tokens Components Overview Base Informationen Sense & Purpose Community Assets Instructions Power-Apps Digital banner ads SAP Design Guidelines App Icons
Find component

Lyne

Basics Animation

Animation

Border

Border

Grid

Grid

Spacings

Spacings

Typography

Typography

Components Action-Group

Action-Group

Alert

Alert

Alert-Group

Alert-Group

Autocomplete

Autocomplete

Button

Button

Calendar

Calendar

Card

Card

Card-Badge

Card-Badge

Checkbox

Checkbox

Checkbox-Group

Checkbox-Group

Chip

Chip

Clock

Clock

Datepicker

Datepicker

Dialog

Dialog

Divider

Divider

Footer

Footer

Form-Error

Form-Error

Form-Field

Form-Field

Header

Header

Header-Action

Header-Action

Icon

Icon

Image

Image

Journey-Header

Journey-Header

Link

Link

Link-List

Link-List

Logo

Logo

Menu

Menu

Menu-Action

Menu-Action

Radio-Button

Radio-Button

Radio-Button-Group

Radio-Button-Group

Selection-Panel

Selection-Panel

Signet

Signet

Slider

Slider

Tab-Group

Tab-Group

Tab Title

Tab Title

Tag

Tag

Tag-Group

Tag-Group

Teaser

Teaser

Teaser-Hero

Teaser-Hero

Time-Input

Time-Input

Title

Title

Toggle

Toggle

Toggle-Check

Toggle-Check

Tooltip

Tooltip

Tooltip-Trigger

Tooltip-Trigger

Link-List Implementation

The <sbb-link-list> is a collection of sbb-links. It has an optional title which is visually
shown as a level 5 <sbb-title>. The title is used as the aria-labelledby attribute of the ul
element. The list can be oriented vertically or horizontally. The title will not be display in the
horizontal orientation.

<sbb-link-list title-level="2" title-content="Help &amp; Contact" horizontal-from="medium">
<sbb-link href='https://www.sbb.ch/en/help-and-contact/refunds-compensation/ticket-refunds.html'>Refunds</sbb-link>
<sbb-link href='https://www.sbb.ch/en/help-and-contact/lost-found-office/submit-loss-report.html'>Loss Report</sbb-link>
...
</sbb-link-list>

NOTE: <sbb-link-list> will automatically set variant block on nested <sbb-link> instances
and will sync the textSize and negative property.

Properties

Property Attribute Description Type Default
horizontalFrom horizontal-from Selected breakpoint from which the list is rendered horizontally. "large" | "medium" | "micro" | "small" | "ultra" | "wide" | "zero" undefined
negative negative Whether to render the link list and nested sbb-link instances as negative. This will overwrite the negative attribute of nested sbb-link instances. boolean undefined
orientation orientation The orientation in which the list will be shown vertical or horizontal. "horizontal" | "vertical" 'vertical'
size size Text size of the nested sbb-link instances. This will overwrite the size attribute of nested sbb-link instances. "m" | "s" | "xs" 's'
titleContent title-content The title text we want to show before the list. string undefined
titleLevel title-level The semantic level of the title, e.g. 2 = h2. "1" | "2" | "3" | "4" | "5" | "6" '2'

Dependencies

Depends on

Graph

graph TD;
sbb-link-list --> sbb-title
style sbb-link-list fill:#f9f,stroke:#333,stroke-width:4px

Demo
Link 1Link 2Link 3
Horizontal Vertical
Yes No
XS S M
No Yes
White Milk Iron Charcoal Black
More examples on Storybook
Imprint Contact Cookie settings