Hoppa till innehåll

ProgressStepper

Terminal window
npm install @sk-web-gui/react
import { ProgressStepper } from '@sk-web-gui/react';
PropTypStandardBeskrivning
stepsstring[]Array of labels
currentnumberIndex of current step
roundedboolean
size'sm' | 'md'
verticalbooleanIf true, the stepper is displayed vertically
ellipsisLengthnumberIf greater than 0, the given number will set the length of each label
noWrapbooleanTrue by default. Displays the label on a single row
labelPositionStepLabelPositionPosition of the label in relation to the icon (or number box)
{
"steps": [
"Första steget",
"Andra steget",
"Sista steget"
],
"current": 1,
"vertical": false,
"ellipsisLength": 0,
"noWrap": true,
"labelPosition": "right"
}
  • Template – standardstory