Dev Design Library

Toc

A navigation component that tracks and highlights the active section as users scroll through document content.

Toc preview
Library
Ark UI
Framework
React
Type
component
License
MIT
Install
npm install @ark-ui/react
Files
  • packages/react/src/components/toc/index.ts
  • packages/react/src/components/toc/toc-content.tsx
  • packages/react/src/components/toc/toc-context.tsx
  • packages/react/src/components/toc/toc-indicator.tsx
  • packages/react/src/components/toc/toc-item.tsx
  • packages/react/src/components/toc/toc-link.tsx
  • packages/react/src/components/toc/toc-list.tsx
  • packages/react/src/components/toc/toc-nav.tsx
Source
https://github.com/chakra-ui/ark

Categories

More from Ark UI