AI Toolbar Button

A toolbar button that triggers the AI menu from the editor toolbar.

Installation

Install the following dependencies:

npm install @radix-ui/react-toolbar @radix-ui/react-tooltip @radix-ui/react-separator

Copy and paste the following code into your project.

Get the code ->

Update the import paths to match your project setup.

Examples

Loading...