Component packs › Gnomon › Sundial Progress

Sundial Progress

As the work goes on the sun sinks: a brass post's shadow stretches along a slate slab, blurring at its far end, and covers the marks it passes.

Sundial Progress is a progress from Gnomon, a component pack with 6 shadow controls: One light for the whole page: switch on the lamp and every control swings its shadow away from it. Price: $2 for the whole pack.

Built with: sinking sun, penumbra grows with length, engraved scale.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Sundial Progress props

PropTypeDefaultDescription
valuenumber0.640 to 1. Default 0.64.
labelstring
darkboolean
autoplaynumber | falseShowcase mode: advances (and starts again after 100%) every N ms while visible.

Methods on the ref

Use it in React

import SundialProgress from './SundialProgress';

<SundialProgress />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Gnomon

Good for: Skeuomorphic UI.