Sajad Entesari

Scattered About

Galleries 11

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:[email protected]&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

    34
  • Slat Shutter Hero

    Slat Shutter Hero

    25
  • Fan Gallery

    Fan Gallery

    17
  • Timeline Scrubber

    Timeline Scrubber

    16
  • Scroll Fill Headline

    Scroll Fill Headline

    13
  • Morph Island

    Morph Island

    13
  • Torn Portrait Scroll

    Torn Portrait Scroll

    8
  • Bento Mini UI

    Bento Mini UI

    3

More in Galleries

View all
  • Animated Gallery

    Animated Gallery

    1.5K
  • Photo Deck

    Photo Deck

    3
  • Editorial Collage Hero

    Editorial Collage Hero

    505
  • Elastic Gallery

    Elastic Gallery

    1.1K
  • Image Gallery

    Image Gallery

    130
  • Gallery Component

    Gallery Component

    5
  • Folded Card

    Folded Card

    40
  • Hero Section 6

    Hero Section 6

    952