Sajad Entesari

Scattered About

Galleries 53

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
  • Slat Shutter Hero

    Slat Shutter Hero

    74
  • Sector Wheel

    Sector Wheel

    59
  • Fan Gallery

    Fan Gallery

    54
  • Photo Deck

    Photo Deck

    49
  • Scroll Fill Headline

    Scroll Fill Headline

    44
  • Timeline Scrubber

    Timeline Scrubber

    39
  • Feature UI Row

    Feature UI Row

    25
  • Morph Island

    Morph Island

    24

More in Galleries

View all
  • Gallery Component

    Gallery Component

    21
  • Cylinder Tunnel Gallery

    Cylinder Tunnel Gallery

    4
  • Animated Gallery

    Animated Gallery

    1.6K
  • Image Gallery

    Image Gallery

    131
  • Phantom Infinite Gallery

    Phantom Infinite Gallery

    57
  • Folded Card

    Folded Card

    45
  • Hero Section 6

    Hero Section 6

    968
  • Thumbnail image viewer

    Thumbnail image viewer

    108