插件
使用纯 CSS Tailwind CSS 插件扩展 Frutjam。零 JavaScript、WCAG 可访问、与框架无关。适用于 Django、HTMX、Laravel 和任何框架。
Frutjam plugins extend the core library with additional components and integrations beyond standard UI elements. Each plugin is an independent npm package — install only what your project needs and register it with a single @plugin directive alongside your main Frutjam import. Plugins integrate seamlessly with the existing theming system, inheriting your CSS variables and WCAG AA color tokens automatically. Framework-agnostic by design, plugins work with Django, HTMX, Laravel, React, and any Tailwind CSS v4 project.
Markdown 编辑器
Markdown 文本编辑器插件,可将本机文本区域转换为完整的编辑套件。所见即所得和纯 Markdown 模式、实时预览、RTL 支持、深色模式。适用于 Django、HTMX、Laravel、React 和任何堆栈。
What are plugins?
Frutjam plugins extend the base library with additional components, utilities, or integrations. Each plugin is an independent package you can opt into — install only what you need, keep your CSS bundle lean.
Independent packages
Each plugin is a standalone npm package. Install it alongside Frutjam and register it with a single @plugin directive in your CSS.
Framework-agnostic
Plugins work with any stack — Django, HTMX, Laravel, React, or plain HTML. No framework-specific wrappers required.
How do I install a Frutjam plugin?
Install the plugin via npm and add a @plugin directive to your CSS file. For example: npm i -D frutjam-plugin-name, then add @plugin "frutjam-plugin-name"; below @plugin "frutjam"; in your CSS. That's it — no JavaScript config required.
Are plugins CSS-only?
It depends on the plugin. Pure UI plugins are CSS-only. Some plugins — like the markdown editor — are JavaScript-based because their functionality inherently requires scripting. Each plugin page clearly documents whether JavaScript is required.