Sajad Entesari

Scattered About

Galleries 79

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

    Slat Shutter Hero

    125
  • Fan Gallery

    Fan Gallery

    84
  • Photo Deck

    Photo Deck

    80
  • Sector Wheel

    Sector Wheel

    75
  • Scroll Fill Headline

    Scroll Fill Headline

    67
  • Timeline Scrubber

    Timeline Scrubber

    58
  • Feature UI Row

    Feature UI Row

    48
  • Morph Island

    Morph Island

    40

More in Galleries

View all
  • Gallery Component

    Gallery Component

    48
  • Product Hover Showcase

    Product Hover Showcase

    120
  • Morph Gallery

    Morph Gallery

    3
  • Image Gallery

    Image Gallery

    97
  • Editorial Collage Hero

    Editorial Collage Hero

    529
  • About 3

    About 3

    459
  • Elastic Gallery

    Elastic Gallery

    1.2K
  • Thumbnail image viewer

    Thumbnail image viewer

    115