Steps
Work in steps under a head that counts: each line's verb quiet, its object a rank up, its figure right after them.
import { Steps, StepLine } from "@arcadia/ui"TSX
Examples
--steps-indent- Ref<Space> | "0px"Default var(--space-6)
- The lines' start, in from the head's: a line's mark hangs in it.
--steps-gap- Ref<Space> | "0px"Default var(--space-1)
- Between two lines.
Steps
indent- booleanDefault true
- Under a head: the lines start
--space-6in, with no guide and no box.false: on the head's own edge. rootStyle- RootStyle<StepsKnobs>
Rest props go to HTMLAttributes<HTMLDivElement>.
verb- string
- The verb before it, quiet ("Read", "Searched").
mark- IconName | ReactNode
- An icon's name or an element, hung in the indent before the text edge (the state's mark, a page's glyph).
figure- ReactNode
- What the step came to ("4 results", "github.com", a time): a small step after the words, never cut; the words give way.
href- string
- The line is a link: it opens
href, takes the row's fill under the pointer, and draws no underline. target- string
- Where the link opens (
_blankaddsrel="noreferrer"). live- booleanDefault false
- Running now: the words shimmer.
tone- "default" | "quiet"Default "default"
quiet: done or not started, the object steps down to the verb's ink.rootStyle- RootStyle
- A component's typed override prop:
Layoutand its documented knobs, each the references it takes or another kit knob of its kind; anything else is a type error at the call site (STYLEX.md). childrenrequired- ReactNode
- The object: a page's title, a to-do, a path. A rank over the verb; its end fades first.
Rest props go to HTMLAttributes<HTMLElement>.