Skip to content
New

Steps, scroll

beta

Numbered steps down one column, a stage beside them in view: as each step reaches the middle of the screen, its image takes the stage.

npx rasengan-ui add steps-scroll

How it works

From quote to paid in three steps

No new habits: Senbon follows the way you already work, and does the chasing.

  1. Write the invoice

    Start from a quote, a timesheet or a blank page. Your rates, taxes and payment terms are already there.

    The invoice editor: line items, taxes and a total, with the client's details on the side.
  2. Let the client pay their way

    One link, every method: card, bank transfer or mobile money. The invoice is marked paid the moment money lands.

    A phone showing a payment received, beside a list of invoices marked paid.
  3. Watch the money come in

    See what is owed, what is late and what arrives next month. Reminders go out on their own until it is settled.

    The dashboard: money owed, late invoices and a chart of the year's income.
Use it
A product whose value is a short sequence, two to five steps, each with something to show.
Avoid it
Steps without a visual each: a plain numbered list in features-grid reads faster.
Built with
Tailwind classes and Lucide icons

Installation

Terminal
npx rasengan-ui add steps-scroll

It installs into components/blocks/steps-scroll/, with lib/blocks.ts.

Usage

Without content, the block shows its example. Pass your own, typed by the block's schema, from a content file (here, the example with one field changed):

app/_routes/index.page.tsx
import { StepsScroll } from "@/components/blocks/steps-scroll";
import { home } from "@/content/home";
 
export default function Home() {
  return <StepsScroll content={home.steps} />;
}
content/home.ts
import { example, type StepsScrollContent } from "@/components/blocks/steps-scroll";
 
export const home = {
  steps: { ...example, title: "Three steps to paid" } satisfies StepsScrollContent,
};

On a wide screen the steps run down the left, and the image of the step crossing the middle of the screen takes the stage on the right, cross-fading at the village's slow duration. On a narrow screen each step shows its image under its text and nothing moves. With motion off, the images swap without fading.

Content

FieldTypeLimitsGuidance
eyebrowoptionalstring≤ 24 charsOne or two words above the title: 'How it works'.
titlestring8–70 charsThe whole journey in a line: 'From quote to paid in three steps'.
sublineoptionalstring≤ 180 chars
stepsobject[]2–5 itemsIn order. Each step's image takes the stage while its text is in the middle of the screen.
steps[].titlestring2–48 charsA verb first: 'Send the invoice'.
steps[].descriptionstring20–220 chars
steps[].imageobjectWhat the step looks like in the product, landscape (16:10).
steps[].image.srcstringA local path ('/images/terrace.jpg') or the project's asset URL.
steps[].image.altstring≤ 140 charsWhat the image shows, for people who cannot see it. Empty only if purely decorative.
steps[].image.widthinteger
steps[].image.heightinteger

Props

PropNotes
contentStepsScrollContent; the example when left out
idthe section's id, for anchor links; "steps" by default
headingLevel1, 2 or 3: the heading's tag; 2 by default
classNameon the <section>, for spacing

Accessibility

  • The steps are an ordered list; the current one carries aria-current="step".
  • The stage repeats the steps' images for the eye only: it is hidden from screen readers, which read each image once, in its step.