---
title: Block Editor
---
Uses a block-based rich text editor from [BlockNote](https://www.blocknotejs.org/) to allow users to edit and view blocks of content.
```jsx
import { useBlockNote } from "@blocknote/react";
import { BlockEditor } from "@/ui/input/editor/components/BlockEditor";
export const MyComponent = () => {
const BlockNoteEditor = useBlockNote();
return ;
};
```
| Props | Type | Description |
|-------|------|-------------|
| editor | `BlockNoteEditor` | The block editor instance or configuration |