A link is an interactive text element that navigates users to another page or resource.
Number | Type | Description | Optional | Info |
---|---|---|---|---|
1 | Text | Label | No |
The sbb-link-static
component mimics the look of the <sbb-link>
,
and it's meant to be used whenever is required to nest one link inside another without breaking the HTML functionality.
The text is provided via an unnamed slot.
<sbb-link-static>Fake link</sbb-link-static>
The component can be displayed in disabled
state using the self-named property.
<sbb-link-static disabled>Refunds</sbb-link-static>
Name | Attribute | Privacy | Type | Default | Description |
---|---|---|---|---|---|
disabled | disabled | public | boolean | false | Whether the component is disabled. |
negative | negative | public | boolean | false | Negative coloring variant flag. |
size | size | public | SbbLinkSize | 's' | Text size, the link should get in the non-button variation. With inline variant, the text size adapts to where it is used. |
Name | Description |
---|---|
Use the unnamed slot to add content to the sbb-link-static . |