Sajad Entesari

Scattered About

Galleries 1

About

An about section with the copy in the middle and six photos scattered around it in fixed slots, each drifting at its own speed as you scroll. On phones the photos become a tidy swipe strip under the copy.

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

Code

How Scattered About is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { ScatteredAbout } from "@/components/ui/scattered-about"

const IMG = "https://cdn.jsdelivr.net/gh/rm-sjent/21st-assets@v1/img/"
const cities = [
  `${IMG}city-lisbon.jpg`,
  `${IMG}city-copenhagen.jpg`,
  `${IMG}city-tokyo.jpg`,
  `${IMG}city-singapore.jpg`,
  `${IMG}city-newyork.jpg`,
  `${IMG}city-capetown.jpg`,
  `${IMG}city-dubai.jpg`,
].slice(0, 6)

export default function ScatteredAboutDemo() {
  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>
      <ScatteredAbout images={cities.map((c) => c)} />
    </div>
  )
}

Dependencies

More by Sajad Entesari

View all
  • Sector Wheel

    Sector Wheel

    5
  • Torn Portrait Scroll

    Torn Portrait Scroll

    3
  • Slat Shutter Hero

    Slat Shutter Hero

    2
  • 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 Galleries

View all
  • Thumbnail image viewer

    Thumbnail image viewer

    99
  • Animated Gallery

    Animated Gallery

    1.5K
  • Editorial Collage Hero

    Editorial Collage Hero

    501
  • Image Gallery

    Image Gallery

    95
  • Elastic Gallery

    Elastic Gallery

    1.1K
  • Folded Card

    Folded Card

    38
  • Hero Section 6

    Hero Section 6

    948
  • Img Sphere

    Img Sphere

    2.2K