Skip to content

Process

Process Autoplay

Steps that take turns every few seconds beside a photo that cross-fades to the active one.

Layout and motion from the Findit template — see it in context

Installation

$ npx shadcn@latest add https://framebrick.co/r/blocks/process-autoplay.json

Usage

import { ProcessAutoplay } from "@/components/process-autoplay";

<ProcessAutoplay
  steps={[
    { title: "Discover", text: "…", image: { src: "/process/1.jpg", alt: "…" } },
    { title: "Experience", text: "…", image: { src: "/process/2.jpg", alt: "…" } },
  ]}
/>

Props

PropTypeDefaultDescription
labelstringHow we workSmall muted line above the heading.
title / leadstring—Heading (h2) and lead above the steps; the title also names the step list.
steps{ title, text, image: { src, alt } }[]3 stepsTabs with a photo each.
intervalnumber5000Milliseconds each step stays active; 0 turns the rotation off.
action{ label, href }Start your journeyRolling-label button under the steps.
classNamestring—Classes for the <section>.
  • Every 5s the next step becomes active and the photo cross-fades (step-sequence, spring bounce 0, 0.4s); the others sit at 70% (Framer: 50%, raised for contrast).
  • The steps are a tab list (arrow keys, Home, End); the rotation pauses while hovered or focused and never runs with reduced motion.
  • From 1024px the steps take 40% and the photo the rest, at least 512px tall; below, the photo follows the steps.

AI prompt

Paste into v0, Lovable, Bolt or Claude to rebuild this block in your own project.

Create a React + Tailwind CSS + Motion block called ProcessAutoplay (Next.js).
- <section className="py-(--section-y)">, container mx-auto max-w-(--container) px-(--gutter), column items-start gap-12: a small muted label,
  an h2 (font-heading text-h2 semibold) and a muted lead; then the steps; then a button whose label rolls on hover.
- Steps: a vertical tab list (role tablist, aria-selected, arrow keys / Home / End) — each tab the number "01.", a 2px line to the next, the title
  and a muted text; the active one at opacity 1, the rest 0.7 (spring bounce 0, 0.4s). Beside it from 1024px (40% / the rest, row at least
  512px tall; below 1024px under it, 256px / 320px tall) a tabpanel whose photos cross-fade to the active step's.
- Advance to the next step every 5 seconds (wrapping); clicking a step activates it and restarts the timer; pause while hovered or focused;
  no rotation with prefers-reduced-motion.
- Only shadcn variables and block tokens; plain <img> with alt text.

Be the first to know

Get new templates and components first

One short email when we release a template or a free component. No spam — unsubscribe anytime.

We use your email only for Framebrick updates. Privacy policy