Link
The Link component defines a hyperlink, which is used to link from one page to another.
Namn | Typ | Beskrivning |
---|---|---|
component | any | |
customAttribute | { attribute: string; value: string |
number } | Used for tests. Clickable and requested subcomponents will be suffixed with "-[ComponentName]". |
disablePadding | boolean | If true, vertical padding is removed from the link. |
negativeMargins | boolean | Negative margins. |
variant | "link" |
"h2" |
"h3" |
"h4" |
"h1" |
"error" |
"caption" |
"subtitle1" |
"body1" |
"overline" |
"inherit" |
"h1Small" |
"h1Medium" |
"h1Large" |
"button1" |
"button2" |
"srOnly" |
npm install @sj-ab/component-library.ui.link
Semantik
Link presenteras i koden som en vanlig ankarlänk: <a href="http://sj.se"
>
Importer av Link
31
Repos med Link
50%
Senaste installerade version av Link
3.0.12
Äldsta installerade version av Link
3.0.9