Skip to content

Search

Articles, tools, solutions and knowledge base guides

Start typing to search across articles, tools and apps.

AI CSS Generator

NEW

Describe 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.

Free to use No registration Privacy protection

Arke Preview Runs on this device

Request

Describe the CSS

One component per request, in plain text. Request language: English or Polish.

0 / 600

How to write a request

The model reads short, concrete requests best. One sentence per idea is enough.

  • One componentName it, ideally at the start of the request.Card..., Navigation bar..., A modal dialog...
  • Values with unitsWrite sizes and times as numbers with px, rem, %, ms or s.24px padding, a 12px radius, a 0.3s transition
More tips Fewer tips
  • ColoursUse a colour name or a hex code.a blue background, #0f172a text
  • Sides, states and screensSay which side, which state and which screen width a value is for.a shadow on the bottom, darken on hover, 3 columns, 2 on tablets, 1 on phones
  • What you do not wantExclusions are understood, so you can switch a default off.no border, no animation
  • Out of scopeOther languages, edits to your own CSS, other code and components outside the list are declined.

A complete request: A card with 24px padding, a 12px radius, a blue background, a shadow on the bottom and no border.

Added before every class: acme- gives .acme-card-grid.

Generating runs Arke, POLPROG's AI model, in the browser. On first use 24.5 MB is downloaded once and kept in the browser's storage. Requests do not leave the device. About the Arke model

Supported: Button, Card, Card grid, Navigation bar, Sidebar layout, Hero section, Text input, Badge, Skeleton loader, Spinner, Box, Modal dialog, Tabs, Accordion, Tooltip, Table, Alert, Footer, Avatar, Progress bar

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
      About the Arke model

      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.