Skip to main content
ALEXY LINK

Metrics 05

A centered heading above three softly tinted gradient stat cards, each with its own color and a cursor-tracking spotlight.

Requirements

HTML, CSS, JavaScript

Dependencies

None

Usage

Copy index.html, styles.css and script.js into your project.

About Metrics 05

Metrics 05 is a statistics section in the Metrics Sections collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated August 26, 2026.

  • metrics
  • cards
  • gradient
  • spotlight

What the code includes

HTML + CSS + JavaScript

3 files: index.html, styles.css, script.js

  • Behavior is handled in script.js.
  • ARIA in the markup: aria-label.
  • HTML elements used: section.
  • Includes a prefers-reduced-motion rule for its animation.
  • Responsive CSS breakpoints at 640px, 1024px.

React + TypeScript + Tailwind CSS

3 files: Metrics05.jsx, Metrics05.types.ts, Metrics05.tailwind.css

  • Typed data shapes: TintedStat.
  • Renders without React state or effects.
  • ARIA in the markup: aria-label.
  • HTML elements used: section.
  • Includes a prefers-reduced-motion rule for its animation.
  • Responsive Tailwind breakpoints used: sm, lg.
View all Metrics Sections (12)