# @yoopta/blockquote

> Blockquote plugin for Yoopta Editor

Latest version **6.0.5** (published 2026-05-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @yoopta/blockquote
pnpm add @yoopta/blockquote
yarn add @yoopta/blockquote
bun add @yoopta/blockquote
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 6.0.5 |
| Published | 2026-05-11 |
| First published | 2023-05-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 38.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3090 |
| Author | Darginec05 |
| Maintainers | dargo05 |

## Links

- npm: https://www.npmjs.com/package/@yoopta/blockquote
- Repository: https://github.com/Darginec05/Yoopta-Editor
- Homepage: https://github.com/Darginec05/Yoopta-Editor#readme
- Issues: https://github.com/Darginec05/Yoopta-Editor/issues
- npm.io page: https://npm.io/package/@yoopta/blockquote

## Recent versions

- 6.0.5 (latest) — 2026-05-11
- 6.0.0 (beta) — 2026-02-23
- 6.0.4 — 2026-05-11
- 6.0.3 — 2026-04-17
- 6.0.2 — 2026-03-16
- 6.0.1 — 2026-02-27
- 6.0.0-beta.22 — 2026-02-19
- 6.0.0-beta.21 — 2026-02-17
- 6.0.0-beta.20 — 2026-02-12
- 6.0.0-beta.19 — 2026-02-06
- 6.0.0-beta.18 — 2026-02-04
- 6.0.0-beta.17 — 2026-02-03
- 6.0.0-beta.16 — 2026-02-01
- 6.0.0-beta.15 — 2026-01-31
- 6.0.0-beta.14 — 2026-01-29
- … 133 more at https://npm.io/package/@yoopta/blockquote/versions

## README

# @yoopta/blockquote

Blockquote plugin for Yoopta Editor. Renders quote blocks; use headless or with theme UI from `@yoopta/themes-shadcn`.

## Installation

```bash
yarn add @yoopta/blockquote
```

## Usage

Pass the plugin to `createYooptaEditor`. Do not pass `plugins` to `<YooptaEditor>`.

```tsx
import { useMemo } from 'react';
import YooptaEditor, { createYooptaEditor } from '@yoopta/editor';
import Blockquote from '@yoopta/blockquote';

const plugins = [Blockquote];

export default function Editor() {
  const editor = useMemo(() => createYooptaEditor({ plugins, marks: [] }), []);
  return <YooptaEditor editor={editor} onChange={() => {}} />;
}
```

## Themed UI

Use Shadcn theme for styled blockquotes:

```tsx
import Blockquote from '@yoopta/blockquote';
import { BlockquoteUI } from '@yoopta/themes-shadcn/blockquote';

const BlockquoteWithUI = Blockquote.extend({ elements: BlockquoteUI });
const plugins = [BlockquoteWithUI];
```

## Default options

- **display:** title `'Blockquote'`, description `'Capture quote'`
- **shortcuts:** `['>']`

## Extend

```tsx
Blockquote.extend({
  elements: {
    blockquote: { render: (props) => <YourCustomBlockquote {...props} /> },
  },
  options: {
    shortcuts: ['quote'],
    display: { title: 'Quote', description: 'Your description' },
    HTMLAttributes: { className: 'my-blockquote' },
  },
});
```

## Classnames

- `.yoopta-blockquote` — root element

See [Blockquote plugin docs](https://docs.yoopta.dev/plugins/blockquote).

---
_Source: https://npm.io/package/@yoopta/blockquote · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
