Onboarding steps

Understory
The get-started wizard: SplitLayout, step cards, live CodeWidget preview.

Usage

The import, then a use to start from. Both copy as they are.

Import
import { SplitLayout } from "@/components/layout/SplitLayout";

When to use

Use it for

  • The get-started flow: SplitLayout puts the steps on the left and a live preview of the site on the right.
  • Each choice updates the preview at once, so people see the result before they commit.
  • Feature and layout pickers are cards with one clear choice each.

Avoid

  • Asking for what the flow can find on its own. Detect it, then confirm.
  • A step without a preview of what it changes.

Accessibility

Checks

  • Every choice has a text label, and the preview is never the only place a choice shows.

API

Read from each component's stories, the same source as COMPONENTS.md, and kept in step by check:design-system.

SplitLayout

No story yet, so its props aren't listed. Read the source, and add a story: it documents the API here and in COMPONENTS.md.

FeatureCard

Its stories don't declare argTypes, so no props are listed. The variants show its states.
Also exportsFeatureStepContext
VariantsDefaultEnabledWithContentWithErrorLoadingWithChipWithInfoTooltipDisabledWithReasonInteractiveMultipleFeaturesFoldedWithoutToggle

LandingPageLayoutSelector

Its stories don't declare argTypes, so no props are listed. The variants show its states.
VariantsDefaultSideBySideSelected

ColorsAndLogosCard

Its stories don't declare argTypes, so no props are listed. The variants show its states.
VariantsDefault

Keep going