Skip to content

Glass MeridianMotion

Trend Line

A smooth line through a few data points, with a node on each and labels pinned to it; it draws in from the left.

Live, interactive React component · light themeResponsive

About the Glass Meridian Trend Line

The line on its own: between or behind sections, in a card, in a stage. It runs through points on a smooth curve, or takes a ready shape when there is no data. The line is drawn over its halo; nodes and pins are HTML at the points' own places, so they stay round and sit on the line at any size. It is uncovered left to right when it comes into view, its nodes light up 120 ms apart and its pins arrive at half the draw. Decorative unless it has a label; then say the pins' facts in that label. The root takes no pointer events.

It is part of Glass Meridian: daylight sky, frosted glass, one blue line. The style’s 92 pieces share one set of tokens, type and motion, in a light and a dark theme, so whatever you take from it fits together.

To put it in your project, copy the prompt into Claude Code, OpenAI Codex or Cursor, or add it by hand. The documentation walks through both.