Skip to main content
Clever Ops

Sticky Scenes

A pinned stage where token-built scene panels crossfade as narrative sections scroll past beside it, sticky storytelling at a walking pace, native scroll throughout.

Preview & code

Loading Sticky Scenes preview

Installation

pnpm dlx shadcn@latest add @cleverui/scroll-sticky-scenes

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { ScrollStickyScenes } from '@/components/blocks/scroll-sticky-scenes'
Exampletsx
import { ScrollStickyScenes } from '@/components/blocks/scroll-sticky-scenes'

export default function ScrollStickyScenesDemo() {
  return (
    <ScrollStickyScenes
      eyebrow="Product tour · Meridian Close"
      heading="From receipt to sealed pack, one walking-pace narrative."
      intro="Scroll the argument. The stage pins and crossfades drafting-table panels that echo each beat, grid, chart, terminal, orbit, without hijacking the page."
      stageSide="right"
      scenes={[
        {
          kicker: '01',
          title: 'Intake lands on one board',
          body: 'Invoices, POs, and packing slips arrive in a single queue. Fields extract against your chart of accounts, not a generic template. The board is the stand-up.',
          panel: 'grid',
        },
        {
          kicker: '02',
          title: 'Match with policy still attached',
          body: 'Tolerance bands, cost-center rules, and dual-approval thresholds travel with every line. Controllers stop hunting for the spreadsheet that defined “close enough.”',
          panel: 'chart',
        },
        {
          kicker: '03',
          title: 'Exceptions route before 7am',
          body: 'Unmatched lines get an owner and age overnight. The morning board shows judgment calls only, scavenger hunts stay in the log.',
          panel: 'terminal',
        },
        {
          kicker: '04',
          title: 'Audit packs seal themselves',
          body: 'Export a signed pack for any close window: decisions, overrides, and source hashes. External auditors stop asking for screenshots.',
          panel: 'orbit',
        },
      ]}
    />
  )
}

API reference

ScrollStickyScenes accepts the following props.

PropTypeDefaultDescription
eyebrowstring
heading*string
introstringshort standfirst under the heading
scenes*StickyScene[]3–5 narrative scenes pairing copy with a token-built stage panel
stageSide'left' | 'right''right'which column holds the pinned stage on lg

…plus everything from React.HTMLAttributes<HTMLElement>: className, event handlers, aria attributes and the rest pass straight through.

Referenced types

Typestsx
export interface StickyScene {
  kicker?: string
  title: string
  body: string
  panel?: StickyScenePanel
}

export type StickyScenePanel = 'grid' | 'chart' | 'terminal' | 'orbit'

Frequently asked questions

How do I install the Sticky Scenes component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/scroll-sticky-scenes`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Sticky Scenes require?

Sticky Scenes uses motion on top of React and Tailwind CSS. You don't need to install it manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Sticky Scenes to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services