Uptime 5 block design & features
Uptime5 is an SLA calculator section built with shadcn/ui and Tailwind CSS. A heading and short description sit above a panel with a segmented control for five availability targets, four large downtime figures and a grid with one square for every day of the year.
Choosing a target counts each figure to its new value, from days of allowed downtime a year at 99% down to a few seconds a day at 99.999%. A light sweep passes across the year grid and the allowed downtime fills in red, as whole days for low targets and a thin sliver for the higher ones, with a caption giving the exact amount. The control steps through the targets on its own until a visitor picks one, and works with the arrow keys.
The figures sit in two columns on phones and four on larger screens. It suits pricing pages, SLA pages and hosting or API products that sell on reliability, and reduced motion shows the figures without counting.
