Link

3.0.14

The Link component defines a hyperlink, which is used to link from one page to another.

Demo

NamnTypBeskrivning

component

any

customAttribute

{ attribute: string; value: string | number }Used for tests. Clickable and requested subcomponents will be suffixed with "-[ComponentName]".

disablePadding

booleanIf true, vertical padding is removed from the link.

negativeMargins

booleanNegative margins.

variant

"link" | "h2" | "h3" | "h4" | "h1" | "error" | "caption" | "subtitle1" | "body1" | "overline" | "inherit" | "h1Small" | "h1Medium" | "h1Large" | "button1" | "button2" | "srOnly"

Installation

npm install @sj-ab/component-library.ui.link

Länkar

Tillgänglighet

Semantik

Link presenteras i koden som en vanlig ankarlänk: <a href="http://sj.se">

Change log

Statistik

  • Importer av Link

    35
  • Repos med Link

    50%
  • Senaste installerade version av Link

    3.0.12
  • Äldsta installerade version av Link

    3.0.9