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>
)
}















