• Start
  • Blogg
  • Kom igång
  • Riktlinjer
  • Komponenter
  • Changelog
  • Tillgänglighet
  • Statistik
  • Inställningar

Komponenter

Komponenter

​
​

Inga resultat hittade, prova med andra sökvillkor.

Feature Button

Feature Button

5.4.0

The Feature Button component allows users to take actions, and make choices, with a single tap.

Demo
Props
Installation
Länkar
Tillgänglighet
Change log
Statistik

Demo

Props

Se fullständing dokumentation(öppnas i ny flik)
NamnTypBeskrivning

color

"blue" | "green" | "orange"Specifies the color of the button.

colorVariant

"primary" | "secondary"Determines whether the button should use the light (primary) or dark (secondary) color variant.

icon

ReactNodeThe icon element to display within the button.

isLoading

booleanIf true, a loading skeleton will be rendered instead of the component.

Installation

Kodexempel
npm install @sj-ab/component-library.ui.feature-button

Länkar

  • Storybook

  • Figma

  • Bit.cloud

Tillgänglighet

Se tillgänglighetsdokumentationen för Flow Button

Change log

  • Icons

    5.4.0
  • Adds new focus-visible markings.

    5.3.0
  • Upgrade to React 19

    5.2.0

Statistik