Examples
Browse through the examples below to see how to use and customize BlockNote.
Want to contribute? Copy the basic example on StackBlitz (opens in a new tab) and submit a PR.
Basic
Basic Setup
matthewlipskiDisplaying Document JSON
yousefedMulti-Column Blocks
yousefedDefault Schema Showcase
yousefedRemoving Default Blocks from Schema
hunxjunedoManipulating Blocks
matthewlipskiDisplaying Selected Blocks
matthewlipskiUse with Ariakit
matthewlipskiUse with ShadCN
matthewlipskiLocalization (i18n)
yousefedChange placeholder text
ezhil56xMulti-Editor Setup
areknawo
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![yousefed profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fyousefed.png&w=128&q=75)
![yousefed profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fyousefed.png&w=128&q=75)
![yousefed profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fyousefed.png&w=128&q=75)
![hunxjunedo profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fhunxjunedo.png&w=128&q=75)
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![yousefed profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fyousefed.png&w=128&q=75)
![ezhil56x profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fezhil56x.png&w=128&q=75)
![areknawo profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fareknawo.png&w=128&q=75)
Backend
Upload Files
matthewlipskiSaving & Loading
yousefedUpload Files to AWS S3Pro
matthewlipskiRendering static documents
yousefed
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![yousefed profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fyousefed.png&w=128&q=75)
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![yousefed profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fyousefed.png&w=128&q=75)
UI Components
Removing UI Elements
matthewlipskiAdding Formatting Toolbar Buttons
matthewlipskiAdding Block Type Select Items
matthewlipskiAdding Block Side Menu Buttons
matthewlipskiAdding Drag Handle Menu Items
matthewlipskiAdding Slash Menu Items
yousefedReplacing Slash Menu Component
yousefedChanging Emoji Picker Columns
yousefedReplacing Emoji Picker Component
yousefedGrid Mentions Menu
yousefedUppy File PanelPro
ezhil56xStatic Formatting Toolbar
matthewlipskiUI With Third-Party ComponentsPro
matthewlipskiExperimental Mobile Formatting Toolbar
areknawo
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![yousefed profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fyousefed.png&w=128&q=75)
![yousefed profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fyousefed.png&w=128&q=75)
![yousefed profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fyousefed.png&w=128&q=75)
![yousefed profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fyousefed.png&w=128&q=75)
![yousefed profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fyousefed.png&w=128&q=75)
![ezhil56x profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fezhil56x.png&w=128&q=75)
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![areknawo profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fareknawo.png&w=128&q=75)
Theming
Adding CSS Class to Blocks
matthewlipskiChanging Editor Font
matthewlipskiOverriding CSS Styles
matthewlipskiOverriding Theme CSS Variables
matthewlipskiChanging Themes Through Code
matthewlipski
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
Interoperability
Converting Blocks to HTML
matthewlipskiParsing HTML to Blocks
matthewlipskiConverting Blocks to Markdown
yousefedParsing Markdown to Blocks
yousefedExporting documents to PDFPro
yousefedExporting documents to .docx (Office Open XML)Pro
yousefed
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![matthewlipski profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fmatthewlipski.png&w=128&q=75)
![yousefed profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fyousefed.png&w=128&q=75)
![yousefed profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fyousefed.png&w=128&q=75)
![yousefed profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fyousefed.png&w=128&q=75)
![yousefed profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fyousefed.png&w=128&q=75)
Custom Schemas
Collaboration
Collaborative Editing with PartyKit
yousefedCollaborative Editing with Liveblocks
yousefedCollaborative Editing with Y-Sweet
jakelazaroff
![yousefed profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fyousefed.png&w=128&q=75)
![yousefed profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fyousefed.png&w=128&q=75)
![jakelazaroff profile image](/_next/image?url=https%3A%2F%2Fgithub.com%2Fjakelazaroff.png&w=128&q=75)