Components
Slash Input Element

Slash Input Element

Implements a slash command input for inserting various elements and applying formatting.

Loading...

Installation

Install the following dependencies:

npm install @udecode/plate-slash/command @udecode/plate-selection @udecode/plate-combobox @ariakit/[email protected] @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.