Skip to content

Spring Dot Demo

This page demonstrates the starlight-glide plugin using the dot theme, spring physics, and a custom Rose color palette.

  1. Dot Theme: The indicator is a glowing dot that slides vertically along the track.
  2. Spring Physics: Notice the bouncy overshoot effect when the dot travels between headings.
  3. Custom Colors: We are using #f43f5e for the dot and a translucent rose for the track.

Scroll down and watch the spring animation bounce!

The dot stays horizontally aligned, making it look incredibly clean.

It smoothly travels down to the active heading and bounces into place.

The dot indicator uses transforms to ensure high-performance animation.

The spring physics configuration adds a dynamic, lively feel by slightly overshooting the target and snapping back.

Try mixing and matching different presets in your frontmatter!

Experiment with any CSS valid color string in the indicatorColor and trackColor fields.