视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
storybook【文档与办公】Assists with developing, documenting, and testing UI components in isolation using Storybook. Use when writing component stories, setting up visual regression testing, configuring addons, or generating component documentation. Trigger words: storybook, stories, csf, component story format, visual testing, chromatic, storybook addons.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Storybook is a UI component workshop for developing, documenting, and testing components in isolation. It supports React, Vue, Svelte, and Angular with Component Story Format (CSF), interactive controls, accessibility auditing, and visual regression testing through Chromatic integration.
args for all dynamic props to enable the Controls panel, and add play functions with @storybook/test for automated interaction testing.<Canvas>, <Controls>, and <ArgTypes>.@storybook/addon-a11y which runs axe-core audits on every story automatically.@storybook/test-runner in CI to execute all play functions..storybook/preview.ts to apply to all stories.title: "Components/Forms/Input" and keep stories co-located with components (Button.tsx + Button.stories.tsx).User request: "Set up Storybook for our React component library with all variants"
Actions:
npx storybook@latest init for the React Vite frameworkOutput: A browsable component catalog with interactive controls and auto-generated docs.
User request: "Set up visual testing for our Storybook components in CI"
Actions:
@storybook/test-runner and configure CI pipeline@storybook/addon-a11y for accessibility checksOutput: A CI pipeline that catches visual regressions, accessibility issues, and broken interactions.
args for all dynamic props to enable the Controls panel and story composition.Button.tsx + Button.stories.tsx in the same directory.storybook test-runner in CI to catch broken interactions before merge.