返回资讯中心
外部精选
软件工程
#开发者实时流

DesignForge 能读取风格指南并直接生成可运行的 Angular、React 或 Vue 应用

来源标题:Style guide in, real app out

DesignForge 可将风格指南或情绪板图片转换为完整界面,并输出可运行的 Angular、React 或 Vue 应用。其视觉模型约 2 到 3 秒内读取图片并提取品牌色、字体、字号比例等设计 token,再自动计算间距、暗色主题和空状态等细节。以示例风格指南 Fernhouse 为例,一次运行即完成了从读图到生成应用的完整流程。

Hacker News 最新missaouihoussem2026/11/16 · 昨天23 分钟阅读

以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。

Drop in a style guide or moodboard. DesignForge reads it, computes the design tokens, lays out every screen, and hands you a running Angular, React or Vue app.

Every screen and video on this page was captured from the running product. The color playground is an illustration.

A style guide is not an app. Somebody still has to guess the hover color, the spacing, the dark theme and the empty state. The guessing is where drift starts: five slightly different blues, buttons that almost match, a dark mode nobody designed. DesignForge does the reading and the arithmetic. You still make the design decisions.

A real run on Fernhouse, a sample style guide we drew. Scroll, or pick a step.

A vision model reads the image in about 2 to 3 seconds (2.6 s in this run) and returns this brief. Nothing else is taken from the picture.

Also in the brief: body font Plus Jakarta Sans, light mode, comfortable density, type scale 1.25.

{ "version": 1, "name": "Fernhouse", "mode": "light", "colors": { "brand": "#c8553d", "accent": "#6b7a3a", "neutral": "#f4ede1" }, "typography": { "headingFont": "dm-serif-display", "bodyFont": "plus-jakarta-sans", "baseSize": 16, "scale": "1.25", "headingWeight": 400 }, "radius": "small", "density": "comfortable", "elevation": "soft" }

ii. Everything else is computed

Fixed rules turn the brief into a 50 to 950 scale per color, semantic tokens, type, spacing, radius, shadows, and a light and a dark theme. The same brief always gives the same tokens. Real values from the export.

The same tokens as the exported React app: light, dark and phone width. Pages are styled by these values, not by a picture of them.

A demo project made from the builder's own blocks. A new project starts with Home, Pricing, Contact and About, styled the same way.

Try it on a small demo app. This is a browser illustration with simplified math; in DesignForge the scale and contrast choices are computed from your guide.

Scale computed from your color, 50 to 950

Button text is black on #c8553d: contrast 4.8:1 (passes AA). Badge and alert text: 7.4:1.

Here is how your workspace is doing this week.

Each page is a live artboard on an infinite canvas, on desktop, tablet and phone. Nothing is a picture of a page. Edit a token and all of them re-skin.

You drop in a PNG, JPEG or WebP. The studio shows "Reading your image" with a seconds counter, then the canvas appears with the extracted design already applied. This capture took 2.6 s.

The real Design panel with the artboards behind it. The brand color goes blue, then violet, then green, and every page follows, because every page reads the same token.

Type what you want. In this capture the prompt was:

It took 8.8 s. The page landed as "Clay Studio", in the same green and clean sans serif as the rest of the project. The plan names and prices are written by the AI, not by us.

One switch and every artboard moves to the dark theme. It is computed with its own shades (brand 400 as the primary instead of 600, for example), not an inverted filter.

To see how far it goes, we gave it a pattern instead of a style guide. In 1.6 s the AI took its burgundy and cream and its old-fashioned serif lettering.

Then we asked for "A booking page for a tea room". 10.8 s later it was on the canvas, in the same style.

CSS variables, a Tailwind v4 theme, Design Tokens JSON, components, or a whole starter app in Angular, React or Vue. Unzip, npm install, npm run dev.

/* tokens.css, excerpt from the Fernhouse export / :root { --color-brand-50: #fff4f1; --color-brand-100: #ffe7e1; / ...200 to 900... */ --color-brand-950: #360701; --font-heading: "DM Serif Display", "Georgia", "Times New Roman", serif; --text-base: 1rem; --text-2xl: 1.9375rem; --space-4: 1rem; --radius-control: 4px; --shadow-md: 0px 4px 12px 0px rgb(31 26 17 / 0.08); --color-primary: var(--color-brand-600); --color-primary-hover: var(--color-brand-500); --color-on-primary: var(--color-black); } [data-theme="dark"] { --color-bg: var(--color-neutral-950); --color-primary: var(--color-brand-400); --color-primary-hover: var(--color-brand-300); --color-on-primary: var(--color-neutral-950); }

/* theme.css, excerpt from the Fernhouse export (Tailwind v4 @theme) / @theme { --color-brand-50: #fff4f1; --color-brand-100: #ffe7e1; / ...200 to 900... */ --color-brand-950: #360701; --color-primary: #c8553d; --color-primary-hover: #d8644b; --color-primary-text: #9a341f; --color-primary-subtle: #ffe7e1; --font-heading: "DM Serif Display", "Georgia", "Times New Roman", serif; --text-2xl: 1.9375rem; --radius-control: 4px; --shadow-md: 0px 4px 12px 0px rgb(31 26 17 / 0.08); }

Play

The exported React app, running.

TranscriptThe exported React app runs in the browser with the Fernhouse theme.

It goes through its sign-in, dashboard and settings pages.

The dark mode switch turns the dashboard dark, then light again.

One theme, three frameworks

The same Fernhouse tokens, exported three times. Each starter has the theme in src/styles/tokens.css and the pages as framework code. File counts are from our captured runs, config files included.

Image to brief. A PNG, JPEG or WebP is read by a vision model.

Brief to tokens. Color scales, semantic tokens, type scale, spacing, radius, shadows, light and dark.

The canvas. Live artboards, with desktop, tablet and phone preview.

AI pages. Describe a page and it appears on the canvas.

Edits. Change a token in the Design panel and every page re-skins; flip dark mode.

Export. CSS variables, Tailwind theme, Design Tokens JSON, components, and a starter app in Angular, React or Vue.

Login, dashboard and settings generated for you. The dashboard shown here is a demo project made from the builder's blocks.

€19 a month, or €15 a month billed yearly

€49 a month, or €39 a month billed yearly

Prices in euros. No VAT is charged (small business, § 19 UStG). Teams with more needs, from €199 a month:talk to us.

DesignForge is an AI design system generator that turns a style guide, UI screenshot or moodboard image into design tokens and a starter app. A vision model reads the image into a short brief. The tokens, themes and exports are computed from that brief with fixed rules: color scales, semantic tokens, a type scale, light and dark themes, and exports for Angular, React or Vue. Pages show live on a canvas.

You drop in a PNG, JPEG or WebP. A vision model reads it in about 2 to 3 seconds (2.6 s and 1.6 s in our captured runs) and returns a small brief: brand, accent and neutral colors, heading and body fonts, corner radius, density and shadows. DesignForge then computes the tokens from that brief with fixed rules: a 50 to 950 scale per color, semantic tokens, a type scale, spacing, radius and shadows.

Partly, and on purpose. Reading the image uses a vision model, so two runs on the same image can return slightly different briefs. After that, everything is computed with fixed rules, so the same brief always gives the same tokens. AI page generation, where you describe a page and it appears on the canvas, is also model based and not deterministic.

It exports a starter app in Angular, React or Vue that runs after npm install. For a moodboard to React app, drop the image, choose React in the Export dialog, unzip, then run npm install and npm run dev. In our captured runs the starters came to 30 files for Angular, 26 for React and 27 for Vue, config files included, each with the theme in src/styles/tokens.css. You can also export CSS variables, a Tailwind v4 theme, Design Tokens JSON and components.

Yes. Make an account at app.getdesignforge.com: the free plan needs no card and includes one code export. Every screenshot and video on this page was captured from the running product; only the color playground is an illustration.

A style guide, a UI screenshot or a moodboard, as a PNG, JPEG or WebP. In captured runs it read a designed style guide called Fernhouse and also a vintage wallpaper pattern, taking burgundy, teal and cream and two serif fonts from the wallpaper and then building a tea room booking page in that style.

Not today. DesignForge reads an image only: a PNG, JPEG or WebP of the style guide, screenshot or moodboard. Importing from a URL is not built, so we do not claim it. If your design system lives on a website, take a screenshot of the page that shows its colors and type and drop that in.

By hand, you eyedrop colors, guess spacing, write hover and dark values, check contrast, mock up pages and then rebuild them in code. DesignForge does the reading and the arithmetic: a brief in about 2 to 3 seconds, tokens computed from it, live screens on a canvas, a new page in about 10 seconds and a starter app that runs. You still make the design decisions.

The engineering team at HS Ventures, a software studio in Munich. Write to [email protected] with questions, or to ask us to delete your data.

Make an account, drop in a style guide, and take your first code export on us. No card needed.

DesignForge is built by the engineering team at HS Ventures in Munich, so the step between a style guide and the first running screen stops being guesswork.

正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。

打开原文
去社区讨论 →