Components

Table of Contents

Provides a floating sidebar with a table of contents, offering quick navigation through document headings with visual indicators for the current section.

Loading...

Installation

Install the following dependencies:

npm install @udecode/plate-heading @radix-ui/react-slot @radix-ui/react-tooltip @radix-ui/react-popover

Copy and paste the following code into your project.

Get the code ->

Update the import paths to match your project setup.