Sajad Entesari

Torn Portrait Scroll

Features 3

About

A sticky scroll section with a list on the left and a portrait collage in the middle. As you scroll, each point takes over: the photo wipes in on torn paper in a new colour, a caption card swaps its rows and the copy on the right hands over. Click any list item to jump to it.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Torn Portrait Scroll to your project and fits it to your theme.

Code

How Torn Portrait Scroll is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { TornPortraitScroll } from "@/components/ui/torn-portrait-scroll"

const IMG = "https://cdn.jsdelivr.net/gh/rm-sjent/21st-assets@v1/img/"
const torn = [
  {
    title: "Advice that fits your life",
    body: "We start with your situation, not a template. Every plan is shaped around your family, your business and your timing.",
    photo: `${IMG}person-amara.jpg`,
    paper: "#c9d6ff",
    card: { title: "Recognised by our clients", rows: ["4.9 out of 5 average rating", "Recommended by 9 in 10"] },
  },
  {
    title: "One partner, start to finish",
    body: "The partner you meet on day one stays with you. No hand-offs, no repeating your story to someone new.",
    photo: `${IMG}person-lukas.jpg`,
    paper: "#f3d9a6",
    card: { title: "Your file is handled by", rows: ["A senior partner", "One named contact"] },
  },
  {
    title: "Senior people on the detail",
    body: "Small details matter most. A senior adviser checks every document before anything is sent.",
    photo: `${IMG}person-sofia.jpg`,
    paper: "#d8e6d2",
    card: { title: "Before we send", rows: ["Documents reviewed", "Dates confirmed", "Final sign-off"] },
  },
  {
    title: "Problems found early",
    body: "We look for the small things that cause big delays later, and fix them before they cost you time.",
    photo: `${IMG}person-ravi.jpg`,
    paper: "#ead8cf",
    card: { title: "Spotted in review", rows: ["Missing reference letter", "Resolved in two days"] },
  },
]

export default function TornPortraitScrollDemo() {
  return (
    <div className="w-full bg-white" style={{ fontFamily: "Geist, ui-sans-serif, system-ui, sans-serif" }}>
      <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Geist:wght@300..600&family=Newsreader:ital,opsz,wght@0,6..72,300..500;1,6..72,300..400&display=swap" precedence="default" />
      <style>{`.font-serif{font-family:"Newsreader","Iowan Old Style","Palatino Linotype",Georgia,serif}`}</style>
      <div className="flex h-[40vh] items-end px-6 pb-8 md:px-12"><p className="text-[15px] text-black/55">Scroll down</p></div>
      <TornPortraitScroll items={torn} />
      <div className="h-[40vh]" />
    </div>
  )
}

Dependencies

More by Sajad Entesari

View all
  • Sector Wheel

    Sector Wheel

    5
  • Slat Shutter Hero

    Slat Shutter Hero

    2
  • Scattered About

    Scattered About

    1
  • Scroll Fill Headline

    Scroll Fill Headline

    1
  • Bento Mini UI

    Bento Mini UI

    1
  • Morph Island

    Morph Island

    1
  • Timeline Scrubber

    Timeline Scrubber

    1
  • Feature UI Row

    Feature UI Row

More in Features

View all
  • Grid Feature Cards

    Grid Feature Cards

    1.9K
  • Feature Sections

    Feature Sections

    114
  • Feature with advantages

    Feature with advantages

    296
  • Features 8

    Features 8

    3.2K
  • Features Card

    Features Card

    262
  • Feature with image

    Feature with image

    155
  • Feature 72

    Feature 72

    137
  • Feature Section with card gradient

    Feature Section with card gradient

    174