Skyline footerNew
A footer set in a city at night, drawn on a 6px grid: the towers build up as it comes into view, windows come and go, and a click in the sky sends a plane across.
Used forCloud and developer platformsCompanies with a home cityLogistics and portsResearch labs and campuses
Install with the shadcn CLI
Registered the namespace? Then it’s shadcn add @hairline/skyline-footer. Set it up
Templates
Need the whole page?
63 Next.js landing pages, each designed from scratch. Try any of them live; one is $39, all of them $159, and 8 are free.
Where it’s used
Cloud and developer platforms
A night city under the links, lit in your colour.
Companies with a home city
Your skyline, with the local time beside the copyright.
Logistics and ports
The harbour preset: cranes and low sheds by the water.
Research labs and campuses
The campus preset: lower buildings and one tall tower.
What it handles for you
A skyline footer is usually a looping video that never matches your colours. This is drawn in code on a pixel grid, in your theme, and it answers the pointer and the links.
Builds as it arrives
Towers rise row by row at staggered times when the footer comes into view, then the lights come on.
A city that lives
Windows switch on and off on their own, beacons blink on the tallest spires, and a plane crosses every few seconds.
Answers you
Reading a column lights the district under it, the pointer wakes windows near it, and a click in the sky sends a plane.
Your own city
The skyline is seeded from the brand name; three presets set its shape: metropolis, harbour, campus.
Local time
Pass `city` and the small print says the time there, written once a minute after mount so the server never guesses it.
Sleeps when hidden
Canvas 2D on a whole-pixel grid, drawn only while on screen; one still frame under reduced motion.
Overview
A skyline in a footer is usually a static illustration or a video. This one is built in code on a 6px grid and seeded from your brand name, so every brand gets its own city. Your links sit in the sky on the same plate; the towers build up from the foot when the footer comes into view, then the city lives on its own: office windows switch on and off, beacons blink on the spires, and now and then a plane crosses. Reading a link column lights the district under it, the pointer wakes the windows near it, and a click in the sky sends a plane across. An optional clock shows the local time of your city in the small print.
States
- build
- When the footer comes into view the towers rise row by row over about 0.4s each, at staggered times, with bright tiles on their rising tops.
- lights
- As the towers settle, light sweeps through the low buildings in front and the windows come on.
- alive
- Windows switch on and off over 3 to 12 seconds, beacons blink on the spires, stars twinkle (clouds by day) and a plane crosses every 8 to 13 seconds.
- column
- Hovering or tabbing into a link column lights the district under it and wakes its windows.
- pointer
- Moving over the city wakes the windows near the pointer; a click in the sky sends a plane across from the nearer side.
- reduced motion
- The finished city in one frame: no build, no planes.
Usage
At the end of your layout
Put it last in the layout. `tone="night"` keeps the night city on a light page; `city` adds the local time to the small print.
Props
- brand
- string
- Brand name in the lockup; it also seeds the skyline, so every brand gets its own city.
- logo
- ReactNode
- Optional logo beside the name.
- tagline
- string
- One short line about the product.
- action
- { label: string; href: string }
- The main action under the tagline.
- columns= []
- { title: string; links: { label: string; href: string }[] }[]
- Link columns; reading one lights the district under it.
- city
- { label: string; timeZone: string }
- Optional local clock in the small print, e.g. "9:41 pm in San Francisco".
- preset= "metropolis"
- "metropolis" | "harbor" | "campus"
- The shape of the skyline.
- tone= "auto"
- "auto" | "night"
- "auto" follows the theme (a pale city by day); "night" keeps the night plate on light pages too.
- accent= "var(--chart-5)"
- string
- Window and beacon light: any CSS colour or token.
- legal
- string
- Copyright line.
- legalLinks= []
- { label: string; href: string }[]
- Small links beside the copyright.
Accessibility and motion
- The links are a labelled nav of plain anchors with focus rings; the skyline canvas is hidden from screen readers.
- The city is drawn on an exact 6px grid (a 5px tile and a 1px gap) in one Canvas 2D pass, with no dependencies.
- The clock is written into its text node after mount, so server rendering never shows the wrong time zone.
- Pauses off screen and in hidden tabs; one still frame under prefers-reduced-motion.
Requirements
React 19, Tailwind CSS v4 and shadcn/ui theme variables (any style, light and dark). Icons from lucide-react.
Source
Registry item: /r/skyline-footer.json


