AI CSS Generator
NEWDescribe a component in English or Polish and get validated CSS with a live preview. The model runs in your browser, so your requests stay on this device.
Generated CSS
Card grid
CSS
Live preview
Isolated frame
Tablet
Mobile
The frame renders the generated CSS at the chosen width. Hover, Focus and the dark page apply the matching rules of the CSS inside the frame only; Copy and Download take the CSS as generated.
Your CSS and preview appear here
Describe one component in English or Polish. The model is downloaded once on first use and stored on this device.
Try an example
Values
Where each value comes from
From your request
Defaults
After a result, every value of the CSS is listed here with its source and line.
Model
Arke
- Model
- Version
- Runs on
- Parameters
- Size
- Request languages
Known limitations
- Twenty supported components; any other element is answered as unsupported.
- Requests are understood in English and Polish only.
- Wording far from common phrasing is read less reliably; values can be dropped or misread.
- The model is not yet a stable release: review the CSS before you use it in production.
Found a bug or missing something? Write to us
Scope and limits
What this tool covers
CSS for twenty components from a model that runs in your browser
Arke 0.9.0 (preview) was trained by POLPROG and evaluated on held-out and hand-written requests. Its answer is validated and compiled into CSS by fixed rules, and every value it did not read from the request is marked as a default. Accessibility and browser support of the result are not checked automatically.
Help
FAQ
Which model writes the CSS?
Arke 0.9.0, a v2 encoder-decoder transformer (RoPE, RMSNorm, SwiGLU) with 41.8 million parameters stored in hybrid 4-bit weights, which POLPROG trained from random initialisation on 800,000 synthetic requests in English and Polish. It is not a renamed external model, and the page calls no external AI service.
Is my request sent to a server?
No. The model runs in a Web Worker in this browser tab. On first use the page downloads the model files (24.5 MB) from this site, checks them against their SHA-256 checksums and keeps them in the browser’s Cache Storage. The request, the CSS and the preview never leave the browser.
What can it generate?
Twenty components: button, card, card grid, navigation bar, sidebar layout, hero section, text input, badge, skeleton loader, spinner, box (a square, rectangle or circle), modal dialog, tabs, accordion, tooltip, table, alert, footer, avatar and progress bar. A request can set columns per screen width, size and proportions, spacing, corners, borders and shadows (also on one side only), colours, gradients, opacity, blur, text alignment and case, font family, hover and focus states, transitions, animations, reduced motion and a dark colour scheme. Other elements are declined.
How is the CSS produced?
The model does not write CSS text. It reads the request into a structured intent (the component and the values you asked for), and a grammar keeps that intent well-formed. A deterministic compiler then writes the CSS and fills everything you did not specify with defaults, which the page marks as such. A safety check refuses external resources and unsafe constructs before anything is shown.
How accurate is it?
On 6,000 held-out test requests, 91.2% of the requests that ask for CSS were read completely right and 97.9% of the requested values were kept. On an independent hand-written set (including Polish requests without diacritics), the figures are 62.5% and 90.6%. Declined and unclear requests were handled correctly in 94.9% of test cases (96.7% in English and 90.1% in Polish); on hand-written declines the model passed the 80% threshold in both languages (86.5% in each). It is the first release to meet every criterion set before its training and is marked as a preview, not as stable: a request that names an unsupported feature is declined less often than before (78.7% of such test requests), so review the CSS before you use it.
Why was my request declined?
Requests for another element, in another language, that contradict themselves or are not about CSS are declined, and a style without a component asks you to pick one. The reason is the model’s own classification and can be wrong; one component per request in common words usually helps.
