@embeddable.com/remarkable-pro

中文文档
0.14.2发布于 2026/11/13TypeScriptES Module构建来源已验证近 30 天下载 2812

Remarkable PRO is component library to use inside of Embeddable.

原始使用文档
文档目录7 节
  1. 📦 Installation
  2. 🧩 Setup (embeddable.config.ts)
  3. 🚀 Remarkable PRO includes
  4. 🎨 Theme styling
  5. 📁 Project Structure
  6. 🛠 Contributing
  7. 📄 License

Remarkable PRO is Embeddable’s production-ready component suite.

Remarkable PRO is component library to use inside of Embeddable.

It provides Embeddable ready-to-go components, editors and granular styling via CSS variables inside the theme.

Under the hood it uses the open source Remarkable UI library.

📦 Installation

npm install @embeddable.com/remarkable-pro

🧩 Setup (embeddable.config.ts)

export default defineConfig({
  ...
  componentLibraries: ["@embeddable.com/remarkable-pro"]
});

🚀 Remarkable PRO includes

  • All core visualisations: bar, line, pie/donut, KPI tiles, tables, heatmaps, etc.
  • All essential controls: dropdowns, multi-selects, date pickers (UTC-safe), and - custom filters.
  • In-built interactivity: every chart supports click to filter.
  • i18n: internationalisation, built-in.
  • Consistent colors: automatic color-value assignment. And lots more.

🎨 Theme styling

The components and editors are part of the Remarkable UI library, that uses its own design system to style them.

To update this styles, simply specify your css variable overrides inside your root embeddable.theme.ts file.

const themeProvider = (clientContext: any, parentTheme: Theme): Theme => {
  const newTheme: DeepPartial<Theme> = {
    styles: {
      '--em-button-background--primary': 'gray',
      '--em-card-border-radius': '20px',
      ...
    },
  };
  const theme = defineTheme(parentTheme, newTheme) as Theme;
  return theme;
};

📁 Project Structure

src/
  assets/        # Icons and static assets
  components/    # Chart, table, editor components
  editors/       # Editor components and utilities
  theme/         # Theme constants, types, and utils
  types/         # Shared TypeScript types
  utils.ts/      # Utility functions

🛠 Contributing

We welcome feedback and contributions!

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Open a pull request

Please follow our code style and add tests for new features.

📄 License

MIT — see the LICENSE file for details.

版本与发布记录

@embeddable.com/remarkable-pro 共发布 123 个版本,首次发布于 2025/12/01;过去 12 个月发布了 123 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.14.2latest2026/11/13今天
0.14.12026/11/112 天前
0.14.02026/11/094 天前
0.13.12026/11/0310 天前
0.13.02026/10/121 个月前
0.12.32026/10/091 个月前

关于 @embeddable.com/remarkable-pro 的常见问题

@embeddable.com/remarkable-pro 是什么?

Remarkable PRO is component library to use inside of Embeddable.

如何安装 @embeddable.com/remarkable-pro?

在项目目录运行 npm install @embeddable.com/remarkable-pro,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:react(>=19.1.1)、react-dom(>=19.1.1)、@embeddable.com/core(>=2.13.8-0)、@embeddable.com/react(>=2.14.0-0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@embeddable.com/remarkable-pro 支持 TypeScript 吗?

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

@embeddable.com/remarkable-pro 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@embeddable.com/remarkable-pro 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@embeddable.com/remarkable-pro 可以商用吗?

@embeddable.com/remarkable-pro 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@embeddable.com/remarkable-pro 的下载量有多少?

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

@embeddable.com/remarkable-pro 还在维护吗?

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