---
title: "Simple editor Tiptap template"
description: "Integrate the Tiptap open source editor with UI components and open source extensions. More in the docs."
---

> This page is for Tiptap 2.x. [See the latest version of this page.](https://tiptap.dev/docs/ui-components/templates/simple-editor.md)

# Simple editor Tiptap template

Integrate the Tiptap open source editor with UI components and open source extensions. More in the docs.

> **Upgrade to v3**
>
> To use UI components or templates you need to upgrade to Editor version 3.x. See the [upgrade
> guide](https://tiptap.dev/docs/resources/whats-new) for more details.

The Simple Editor Template is a fully working setup for the Tiptap editor. It includes commonly used open source extensions and UI components, all MIT licensed and ready to customize.

> **Interactive demo:** [simple](https://template.tiptap.dev/preview/templates/simple)

<div className="flex items-center gap-4 mt-8">
  <a href="http://template.tiptap.dev/preview/templates/simple" className="inline-flex items-center justify-center rounded-md p-2 text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring bg-fd-primary text-fd-primary-foreground hover:bg-fd-primary/80 gap-2 not-prose">
    View in Full Screen
    
  </a>
  <a href="https://github.com/ueberdosis/tiptap-ui-components/tree/main/apps/web/src/components/tiptap-templates/simple" className="inline-flex items-center justify-center rounded-md p-2 text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring border bg-fd-secondary text-fd-secondary-foreground hover:bg-fd-accent hover:text-fd-accent-foreground gap-2 not-prose">
    GitHub Repository
  </a>
</div>

## Install

Add the Simple Editor Template to your project using the Tiptap CLI (for Vite or Next.js):

```bash
npx @tiptap/cli add simple-editor
```

## Style

> **Missing styles?**
>
> If you haven’t added the styles yet, make sure to [follow the style setup
> guide](https://tiptap.dev/docs/v2/ui-components/getting-started/style.md) to ensure your editor and components render
> correctly.

## Usage

After installation, use the SimpleEditor component in your React or Next.js project:

```jsx
import { SimpleEditor } from '@/components/tiptap-templates/simple/simple-editor'

export default function App() {
  return <SimpleEditor />
}
```

## Features

A fully responsive rich text editor with built-in support for common formatting and layout tools. All components are open source and easy to extend.

- **Responsive design**: Mobile-friendly by default
- **Dark and light mode**: Supported out-of-the-box
- **Formatting**: Bold, Italic, Underline
- **Lists**: Bullet, Ordered, Checkboxes
- **Text alignment**: Left, Center, Right, Justified
- **Headings**: Multiple levels via dropdown
- **Image upload**
- **Link editing:** UI for adding and editing links
- **Undo / Redo:** History management

### Used reference components

#### Hooks

- `use-mobile`
- `use-window-size`

#### Icons

- `arrow-left-icon`
- `highlighter-icon`
- `link-icon`
- `moon-star-icon`
- `sun-icon`

#### Extensions

- `selection-extension`
- `link-extension`
- `trailing-node-extension`

#### Lib

- `tiptap-utils`

#### UI Components

- `blockquote-button`
- `code-block-button`
- `color-highlight-button`
- `color-highlight-popover`
- `heading-button`
- `heading-dropdown-menu`
- `image-upload-button`
- `link-popover`
- `list-button`
- `list-dropdown-menu`
- `mark-button`
- `text-align-button`
- `undo-redo-button`

#### Node Components

- `code-block-node`
- `image-node`
- `image-upload-node`
- `list-node`
- `paragraph-node`

#### Primitives

- `button`
- `spacer`
- `toolbar`

## License

The Simple Editor Template and all included components are MIT licensed. You’re free to use, modify, and extend the code as needed.

## Future compatibility

You can extend this template with additional features as your needs grow.

Paid Tiptap Cloud features will have matching UI components that integrate just as easily! No rework needed.
