Zur Navigation Zum Inhalt Kontakt Menu Komponente finden Übersicht Lyne Prinzipien Grundlagen Barrierefreiheit Design System Guidelines Deutsch Français Italiano English Unsere Gestaltungsprinzipien Nutzerzentriert Wiedererkennbar Inklusiv Reduziert Ganzheitlich Selbsterklärend Aufgabenorientiert Passend SBB Markenportal Logo Digitale Uhr Nutzungsrechte Basis-Farben Funktionale Farben Off-Brand Farben Icons Fahrplan-Icons Piktogramme Über Barrierefreiheit Über diesen Guide Kontakt Weitere Informationen Product Owner User Research Interaction Design Visual Design Development Content Design Testing Was ist ein Design System?​ Designing Coding FAQ Hilfe Prozess Contribution Kontakt Übersicht Basis Komponenten Übersicht Basis Komponenten Übersicht Basis Komponenten Übersicht Design Tokens Komponenten Übersicht Basis Informationen Sinn & Zweck Community Assets Anleitung Power-Apps Digitale Werbebanner SAP App Icons
Komponente finden

Lyne

Basics Animation

Animation

Border

Border

Grid

Grid

Spacings

Spacings

Typografie

Typografie

Components Action-Group

Action-Group

Accordion

Accordion

Alert

Alert

Expansion-Panel

Expansion-Panel

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 component that can be used to collect and display more sbb-links.

<sbb-link-list>
<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>

Slots

The component can display an optional title,
which is visually shown as a level-5 sbb-title
and is used as the aria-labelledby attribute of the ul element.

The title can be set using the titleContent property or, alternatively, can be projected using the title slot.

<sbb-link-list title-content="Help &amp; Contact"> ... </sbb-link-list>

Style

The component will automatically set variant block on nested sbb-link instances,
and it will sync its size and negative property with the inner links.

<sbb-link-list size="s" negative>
<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>

Orientation

The orientation property is used to set links' orientation; possible values are horizontal and vertical (default).
The optional property horizontalFrom can be used in combination with orientation='vertical'
to indicate the minimum breakpoint from which the orientation changes to horizontal.
The title will not be displayed in the horizontal orientation.

<sbb-link-list 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>

Properties

Name Attribute Privacy Type Default Description
titleContent title-content public string | undefined The title text we want to show before the list.
titleLevel title-level public TitleLevel | undefined '2' The semantic level of the title, e.g. 2 = h2.
size size public SbbLinkSize 's' Text size of the nested sbb-link instances. This will overwrite the size attribute of nested sbb-link instances.
negative negative public boolean Whether to render the link list and nested sbb-link instances as negative. This will overwrite the negative attribute of nested sbb-link instances.
horizontalFrom horizontal-from public SbbHorizontalFrom | undefined Selected breakpoint from which the list is rendered horizontally.
orientation orientation public SbbOrientation 'vertical' The orientation in which the list will be shown vertical or horizontal.

Slots

Name Description
Use the unnamed slot to add one or more sbb-link.
title Use this slot to provide a title.
Demo
Link 1Link 2Link 3
Orientierung Horizontal Vertikal Titel Ja Nein Grössen XS S M Negativ Nein Ja Hintergrund White Milk Iron Charcoal Black Mehr Beispiele auf Storybook
Impressum Kontakt Cookie Einstellungen