inkbridge-starter
v0.1.0
Published
A minimal Next.js + Tailwind CSS + Storybook project pre-configured with [Inkbridge](https://inkbridge.io) — so you can generate a pixel-accurate design system in Figma in minutes, without writing any components first.
Readme
Inkbridge Starter
A minimal Next.js + Tailwind CSS + Storybook project pre-configured with Inkbridge — so you can generate a pixel-accurate design system in Figma in minutes, without writing any components first.
What's included
- Next.js 15 (App Router, TypeScript)
- Tailwind CSS v4 + shadcn/ui components
- Storybook with stories for every component
- Inkbridge pre-wired — scanner route, token patch route, and scripts ready to go
Demo components
| Component | Type | |---|---| | Button | CVA variants (default / secondary / outline / ghost / destructive / link) + sizes | | Card | Compound (header / title / description / content / footer) | | Badge | CVA variants | | Input | States (default / disabled / invalid) | | Alert | CVA variants (default / destructive) | | Gradient Showcase | Gradient rendering demo (linear / radial / 3-stop / blob) |
Quick start
Prerequisites
- Figma Desktop (not browser — needs localhost access)
- Node.js 18+ and pnpm
1. Use this template
Click "Use this template" → "Create a new repository" on GitHub, then clone your new repo.
Or clone directly to try it out locally:
git clone https://github.com/inkn9ne/inkbridge-starter.git
cd inkbridge-starter
pnpm install2. Load the plugin in Figma Desktop
- Open Figma Desktop
- Go to Plugins → Development → Import plugin from manifest...
- Select the file at:
node_modules/inkbridge/manifest.json
Figma remembers this path — you only do this once per project.
3. Start the dev server
pnpm figma:dev4. Generate your design system
In Figma: Plugins → Development → Inkbridge → Generate Design System Page
The plugin scans your Storybook stories and builds a "Design System" page with all components rendered as native Figma frames.
Adding your own components
- Create a component in
src/components/ - Add a
.stories.tsxfile alongside it - Re-run Generate Design System Page — it always reflects the current state
See the Inkbridge docs for full documentation.
Scripts
| Script | What it does |
|---|---|
| pnpm figma:dev | Start Next.js dev server (required for plugin) |
| pnpm figma:scan | Manually run the component scanner |
| pnpm dev | Start Next.js normally |
| pnpm storybook | Start Storybook |
Configuration
Edit inkbridge.config.json to control which paths the scanner searches:
{
"componentPaths": ["src"],
"exclude": ["stories", "storybook-static"],
"onlyWithStories": true
}License
MIT
