Skip to content
项目

关于

Design System of Frontify

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
0

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Fondue

The design system for the Frontify ecosystem: React components, icons, charts, design tokens and a rich text editor, shipped as one package.

CI npm Known Vulnerabilities

Storybook · Setup guide · Design documentation · Contributing

Quick start

Requires React 18.

npm i @frontify/fondue

Import the tokens and styles once at your app's root, then wrap the app in the ThemeProvider:

import '@frontify/fondue/tokens/base';
import '@frontify/fondue/components/styles';

import { Button, ThemeProvider } from '@frontify/fondue/components';

export const App = () => (
    <ThemeProvider theme="light">
        <Button>Hello Fondue</Button>
    </ThemeProvider>
);

Fonts aren't bundled for licensing reasons, and Tailwind needs extra config. The setup guide covers both.

What's in the package

Everything is imported from @frontify/fondue. Each entry point is tree-shakeable.

Entry point Contents
@frontify/fondue/components React components and the ThemeProvider
@frontify/fondue/icons Icon components
@frontify/fondue/charts Chart components
@frontify/fondue/tokens/base Design tokens as CSS variables
@frontify/fondue/tokens/tailwind Tailwind v3 preset with a class for every token
@frontify/fondue/rte Rich text editor (legacy)
@frontify/fondue/rich-text-editor Rich text editor (experimental, API and format may change)
@frontify/fondue/sdk Machine-readable metadata for components, icons, tokens, guides

Entry points with styles have a matching /styles import, e.g. @frontify/fondue/charts/styles.

Using Fondue with AI coding agents

Install the Fondue skill so agents (Claude Code, Cursor, Codex, …) look up real components, props and tokens instead of guessing:

npx skills add frontify/fondue/packages/sdk

The skill queries the Fondue version installed in your project. See the SDK README for the underlying API.

Contributing

pnpm i
pnpm build
pnpm storybook   # http://localhost:6010

See CONTRIBUTING.md for the full workflow, adding components, and releasing.

探索相关项目

加载中…