Feature Journey
NewA pinned panel that tells a story as you scroll, with isometric services, and a slider of hairlines that thickens where you are, drawn to each stage
Installation
pnpm dlx shadcn@latest add @breeze/feature-journeyUsage
import { FeatureJourney } from "@/components/blocks/feature-journey"export default function Page() { return <FeatureJourney />}About this block
A features section told as a journey. The panel stays pinned while the page scrolls, and each screen of scrolling is one stage: the words slide out and the next stage's slide in, and an isometric row of services changes with them. Services get scanned, one is flagged and towers over the rest, a new one joins, and they all settle tall, with traffic running between them and a label pointing at what changed. Along the bottom, one slider of hairlines names every stage, and the ticks thicken where you are, drawn magnetically to each stage as you scroll. Click a stage to jump to it. Works under a fixed header and inside your own scrolling area. Neutral colours from your theme, in light and dark mode.
- React
- Tailwind CSS
- Motion
Features
- Pinned while you scroll; each screen of scrolling is one stage
- Words slide up as you go forward and down as you go back
- Isometric services that rise, get flagged and settle, with traffic between them
- One slider of hairlines that follows the scroll and is drawn to each stage; click a stage to jump there
- Stages, service heights and labels kept in one STAGES array
- Neutral colours from your theme, in light and dark mode
- Every stage readable by screen readers; respects reduced motion