Skip to content

Snake Demo

This page demonstrates the starlight-glide plugin in action with the snake desktop preset and smooth physics Default. Scroll down to see the “moving snake” indicator follow your progress through the different sections and nested headings.

  1. Smooth Curves: Uses SVG cubic-bezier curves for transitions between different indentation levels.
  2. Batched Performance: Optimized to minimize layout shifts and reflows.
  3. Fumadocs-inspired: A premium feel for your documentation.

This section tests how the snake handles moving between different depths.

Content for sub-heading A.

Content for sub-heading B.

The snake uses CSS transitions for stroke-dashoffset and stroke-dasharray to ensure 60fps performance during scrolling.

We use a custom cubic-bezier timing function to make the movement feel natural and “glidey.”

The Glide TOC adds that extra touch of polish to your Starlight site, making navigation feel alive.

We love feedback! Let us know what you think.

Stay tuned for more features like color customization and line weight options.