Footer for app shells and docs: a live status pill that breathes, a build chip that copies, and a ball that rolls to the column you point at.
Hover meTap me
Payouts
EUR account
Mon 9 NovPaid€12,480.00
Mon 16 NovScheduled€9,215.40
footer · , lively
footer-demo.tsx
When to use
Use it as the bottom row of an app shell, dashboard or docs site, where people check product health, read the build they run and reach help and legal links.
When not to use
For in-app navigation use Sidebar or Tabs instead. It only renders the status you pass it, so it does not poll a status page by itself.
The bottom row of an app shell, a dashboard or developer docs: where people check whether the
product is healthy, find the build they are on for a support ticket, and reach help and legal
links. Footer.Status is a live pill linked to your status page: its dot breathes slowly while on
screen and, when the state changes, the dot pops in its new colour and the label rolls.
Footer.Version shows the release and commit; pressing it copies them and the chip rolls to
"Copied" without changing width. A small ball rests on the links' top rule and rolls to the group
you point at or tab into. The columns and big presets add link columns, a newsletter and back to
top for docs sites. For in-app navigation use the sidebar or tabs instead.
Feed status from your status provider (poll or subscribe); the footer only renders it. Pass a
label as children for detail ("Payouts delayed in EU"); the dot keeps the state's colour.
temperament (calm, lively, playful) changes only how far and how springy the balls move
and how fast the columns cascade. Footer.Link asChild wraps a Next.js Link. onSubscribe returns a
promise: resolve shows the success line, reject with an Error shows its message under the field.
A footer (the page's contentinfo when top level) containing nav aria-label="Footer"; each
column is an h2 and a ul labelled by it, so screen readers jump by heading or list.
The newsletter is a form named "Newsletter" with a real label on the field; errors and the
success line are announced politely.
The status pill is a link named by its label (the dot is decorative); a state change is
announced once ("Status: Major outage"), never on load. The label carries the meaning, so
colour is never the only cue.
The version chip is a button named "Copy version v4.12.0 (9f3c2a1)"; "Copied" or "Could not
copy" is announced politely.
The rule, the rail ball, the status dot, the back-to-top ball and the wordmark are aria-hidden.
Links are 24 px tall targets with a visible focus ring; back to top is 40 px. Links and legal text
use muted-foreground, AA in both themes.
Touch: the ball follows the column whose link you tap (focus); back to top works the same.
The columns are in place from the first frame. The rail ball crossfades from the old column to the
new one, without rolling or squashing, and the heading lift is off. Back to top jumps to the top
(behavior: "auto") and moves focus, with no stretch or thrown ball. The success check appears
already drawn. The status dot shows a still ring instead of breathing, a state change swaps the dot
and crossfades the label, and the version chip crossfades to "Copied".
The only loop is the status dot's breath (one cycle every 2.4 s, transform and opacity), and
it pauses off screen, in hidden tabs and under reduced motion; maintenance does not breathe. The
ball is a spring on transform that runs only while it travels; the
column positions are measured once and on resize (ResizeObserver). The cascade runs once, on
first viewport entry. The newsletter spinner exists only while submitting and pauses off screen and
in hidden tabs. The back-to-top glide animates the window scroll on the calm spring and stops at
the first wheel, touch or key.
Technical sheet
Motion
calm
260 ms · bounce 0
lively
400 ms · bounce 0.3
playful
540 ms · bounce 0.45
Main spring of each temperament. Set it with the temperament prop or MotionKitProvider; the default is lively.
Size
Not measured yet · budget 15.0 kB gzip
Component and MotionKit helpers; excludes react, react-dom, @radix-ui/react-slot, motion.
Dependencies
@radix-ui/react-slot · peer
motion · peer
Triggers
hover, keyboard focus, entering the viewport, press, ambient loop (pauses off screen and in hidden tabs)
Reduced motion
Columns sit in place, the rail ball crossfades between columns, the status dot shows a still ring instead of breathing, labels crossfade, and back to top jumps without the thrown ball.
Keyboard
Tab / Shift + Tab
Links column by column (the ball follows focus), then the newsletter, the status link, the version chip, legal links, back to top
Enter
Follows a link or the status page; submits the newsletter from the field
Space / Enter on the version chip
Copies the version and build; "Copied" is announced
Space / Enter on back to top
Scrolls to the top and moves focus to focusTarget
Browsers
Last 2 versions of Chrome, Edge, Firefox and Safari (iOS 16.4+)