Introduction
ProseKit provides a set of components that you can copy and paste into your project. These components are styled with Tailwind CSS, allowing you to create beautiful, responsive editors with minimal effort.
Installation
Section titled “Installation”-
Install Tailwind CSS
If you haven't already, set up Tailwind CSS in your project. See the Tailwind CSS documentation for instructions.
-
Install recommended plugins
You’ll need a few extra Tailwind CSS plugins for these components to work properly. Install the following:
pnpm add tw-animate-css @egoist/tailwindcss-icons @iconify-json/lucidenpm install tw-animate-css @egoist/tailwindcss-icons @iconify-json/lucideyarn add tw-animate-css @egoist/tailwindcss-icons @iconify-json/lucidebun add tw-animate-css @egoist/tailwindcss-icons @iconify-json/lucide -
Configure Tailwind CSS
Register the Tailwind CSS plugins in your global CSS file (e.g.,
global.cssorapp.css):@import "tailwindcss"; @import "tw-animate-css"; @plugin "@egoist/tailwindcss-icons"; -
That's it
You can now start adding components to your project.