Skip to content

Editorial step cards

Editorial steps with three tall tinted cards.

Usage

Usage
import { HowItWorksSteps } from '@/components/blocks/how-it-works-02'


<HowItWorksSteps />


// Change the copy with props
<HowItWorksSteps
  eyebrow="Getting started"
  title="Launch in three steps"
  badge="Free to try"
  steps={[
    { title: 'Connect', description: 'Link the tools your team already uses.', meta: '2 minutes' },
    { title: 'Configure', description: 'Pick a template and make it yours.', meta: '10 minutes' },
    { title: 'Launch', description: 'Publish and share it with one click.', meta: 'One click' },
  ]}
/>

Install

pnpm dlx shadcn@latest add @pastaui-pro/how-it-works-02

Source

Props

Editorial step cards props
PropTypeDefaultDescription
eyebrowstring= 'How it works'Small label in the top left corner.
titlestring= 'Three steps to a page you love'Large heading above the steps.
descriptionstring= Pick it, make it yours and ship it copySubtitle under the heading.
badgestring= 'Ready in minutes'Text on the scalloped sticker. Pass an empty string to hide it.
stepsHowItWorksStepsItem[]= Pick a block / Make it yours / Ship itSteps with a title, description and optional meta shown at the bottom right. Card colors and corner shapes repeat in order.
classNamestring= —Additional classes for the section.