Skip to main content

<st-steps>

JSON type: Steps

A numbered process: a responsive grid of cards, each with an automatic "01", "02", ... number, a title and a description. highlightLast makes the final card a dark navy call-out, the way enterprise pages close a how-it-works sequence. inverted puts the whole block on the dark band. variant="band" sets the block on a white full-width band with hairline top and bottom borders; the cards sit on a light blue surface and the numbers are large azure.

Usage​

import '@sankhyatronics/sankhya-cms/steps'; // registers <st-steps>

Properties​

PropertyAttributeTypeDefaultDescription
eyebroweyebrowstring''Small uppercase label above the title.
titletitlestring''
subtitlesubtitlestring''
items—StepItem[][]The steps, in order.
highlightLasthighlight-lastbooleanfalseRenders the last step as a dark navy call-out card.
invertedinvertedbooleanfalsePuts the block on the dark band (--st-cms-band-dark-bg), which stays dark in the dark theme.
variantvariant'default' | 'band''default'default is the bordered card grid; band is a white full-width band with light blue cards.
markdownmarkdownbooleanfalseRenders each step's description as Markdown (inline code, links). Off by default: descriptions are plain text.

See the live examples in Storybook.