n-anchor

Community

Seamless anchor navigation for docs and pages.

Authorjiaiyan
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Helps developers implement anchor-based navigation and a table of contents for long pages by tracking user scroll position and highlighting the current section.

Core Features & Use Cases

  • Scroll-tracking with active link highlighting to orient readers.
  • Nested anchors for hierarchical content structures.
  • Affix-ready behavior with customizable rail styling and background.
  • Simple API using n-anchor and n-anchor-link components for quick integration.

Quick Start

Add the n-anchor component to your page and supply n-anchor-link children with matching href targets.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: n-anchor
Download link: https://github.com/jiaiyan/naive-ui-skills/archive/main.zip#n-anchor

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.