@gemeente-denhaag/blockquote

中文文档
3.1.2发布于 2026/09/23EUPL-1.2TypeScriptESM + CJS零依赖构建来源已验证近 30 天下载 2871

A blockquote component

原始使用文档
文档目录5 节
  1. When to use
  2. Alternatives and related components
  3. Anatomy
  4. Design properties
  5. Accessibility

Blockquote

npm version

A blockquote shows a highlight or quote in a page that should stand out.

When to use

Use a blockquote when there is a quote in the text you want to highlight, to tease the next alinea or highlight an important line.Mostly used in an journalistic way, to decorate the page.

  • Use a note component when it’s important to highlight a warning or information.

Anatomy

The blockquote consists of:

  1. Marker: to create an indent in te page
  2. Text: to display the quote

Design properties

Typography

  • Text: TheMix/lg/700

Colors

  • Text: text color Green/4
  • Marker: text color Green/1

Structure

  • Text: padding 16px

Accessibility

Do not use this component to indent text. Screen readers use the

element to: Provide semantic understanding of page content by announcing blockquote as quote Define a sectioning root in HTML5, which means that any

-

element doesn't become part of the document’s outline To make the blockquote content accessible, use the attribute with a valid URL

Content guidelines

None.

Best practices

Do's

Blockquotes should:

  • Stand out from the text, so make sure that there is more basic text and only one or two quotes on a short page.

Don'ts

Blockquotes should:

  • Not be used in a group.
  • Not be used for displaying a decorative treatment only.

References

版本与发布记录

@gemeente-denhaag/blockquote 共发布 347 个版本,首次发布于 2022/01/27;过去 12 个月发布了 3 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
3.1.2latest2026/09/231 个月前
3.1.12026/07/273 个月前
3.1.02026/06/294 个月前
3.0.12025/09/151.2 年前
3.0.02025/07/221.3 年前
2.1.02025/07/101.3 年前

关于 @gemeente-denhaag/blockquote 的常见问题

@gemeente-denhaag/blockquote 是什么?

A blockquote component

如何安装 @gemeente-denhaag/blockquote?

在项目目录运行 npm install @gemeente-denhaag/blockquote,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:react(18 || 19)、react-dom(18 || 19)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@gemeente-denhaag/blockquote 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@gemeente-denhaag/blockquote 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@gemeente-denhaag/blockquote 可以商用吗?

@gemeente-denhaag/blockquote 使用 EUPL-1.2 许可。声明的许可为 EUPL-1.2,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。

@gemeente-denhaag/blockquote 的下载量有多少?

根据 npm 官方下载统计,@gemeente-denhaag/blockquote 在 2026/10/16 – 2026/11/14 这 30 天内被下载 2,871 次,日均约 96 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@gemeente-denhaag/blockquote 还在维护吗?

最新版本 3.1.2 发布于 2026/09/23(1 个月前);至今共发布 347 个版本,其中过去 12 个月发布了 3 个;首次发布于 2022/01/27。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。