Prerequisites
Before installing the plugins, make sure your environment meets the following requirements.
Claude Code
Section titled “Claude Code”You need Claude Code installed and running. The plugins use Claude Code’s plugin system and slash commands.
# Verify Claude Code is availableclaude --versionReact project with TypeScript
Section titled “React project with TypeScript”Both plugins assume a React project. TypeScript is strongly recommended — all generated components are .tsx files with inline type definitions.
A minimal setup that works:
- React 18+ (17 works but is untested)
- TypeScript 5+ with a
tsconfig.json(strict mode recommended) - Any bundler: Vite, Next.js, Remix, Create React App, Parcel
sass (for acss-kit components)
Section titled “sass (for acss-kit components)”Generated components import .scss files. You need sass (the Dart Sass npm package) in your project’s devDependencies.
npm install --save-dev sass# oryarn add -D sass# orpnpm add -D sassProject structure conventions
Section titled “Project structure conventions”The plugins write to predictable paths by default. You can override these with a .acss-target.json file at your project root.
| Plugin | Default output path |
|---|---|
| acss-kit (components) | src/components/fpkit/ |
| acss-kit (themes) | src/styles/theme/ |
| acss-utilities | src/styles/ |
Optional: .acss-target.json
Section titled “Optional: .acss-target.json”Create this at your project root to override defaults:
{ "componentsDir": "src/components/ui/", "utilitiesDir": "app/styles/", "stack": "vite"}Figma (optional, for /theme-extract)
Section titled “Figma (optional, for /theme-extract)”If you plan to use /theme-extract with a Figma URL, you need a Figma personal access token configured in Claude Code’s MCP settings.
What you don’t need
Section titled “What you don’t need”- You do not need to install
@fpkit/acssfrom npm. The plugins vendor component code directly into your project. - You do not need any special Claude Code subscription — the plugins work on any plan that supports Claude Code plugins.
- You do not need a specific folder structure beyond the defaults above (or whatever you configure in
.acss-target.json).