Warm, editorial UI for dashboards, sites and AI-built apps.
100 components
Every colour, size and font is a CSS variable. Switch the theme to see the same markup in Light and Dark — or both side by side.
Actions8
Button
A button triggers an action; one rk-btn--primary per view, everything else secondary or ghost.
Markup
<button class="rk-btn rk-btn--primary">Save changes</button>. The consumer provides the label (sentence case, verb first) and an optional 16px Lucide icon before it.
A field pairs a label, a control and optional help or error text.
Visible to everyone in the workspace.
Enter a full email address.
Visible to everyone in the workspace.
Enter a full email address.
Markup
wrap in rk-field; inside, rk-label (with for), then rk-input, rk-select or rk-textarea, then rk-help or rk-error. The consumer provides ids, names and values.
<div style="padding:24px;display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start;background:var(--bg);min-height:100%;box-sizing:border-box"><div style="display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:16px;width:100%;max-width:640px">
<div class="rk-field"><label class="rk-label" for="n">Project name</label><input class="rk-input" id="n" placeholder="e.g. Spring launch"><p class="rk-help">Visible to everyone in the workspace.</p></div>
<div class="rk-field"><label class="rk-label" for="r">Region</label><select class="rk-select" id="r"><option>Ljubljana</option><option>Maribor</option></select></div>
<div class="rk-field" data-invalid><label class="rk-label" for="e">Email</label><input class="rk-input" id="e" value="rok@" aria-invalid="true"><p class="rk-error">Enter a full email address.</p></div>
<div class="rk-field"><label class="rk-label" for="t">Notes</label><textarea class="rk-textarea" id="t" placeholder="Anything we should know?"></textarea></div>
</div></div>
Choice
Checkbox, radio and switch share one look: native inputs restyled, so keyboard and form behaviour stay intact.
Markup
<label class="rk-check"><input type="checkbox"> Label</label>; rk-radio with type="radio"; rk-switch with type="checkbox" role="switch".
A password field with a show/hide toggle and a strength meter.
Good — add a symbol to make it strong.
Good — add a symbol to make it strong.
Markup
An rk-input-group with a positioned rk-icon-btn, plus <div class="rk-strength" data-level="1–4"> of four spans and an rk-help that names the level in words.
A multi-line text field with a live character counter.
Shown on your public profile.
78 / 160
Shown on your public profile.
78 / 160
Markup
rk-textarea inside rk-field; <span class="rk-counter">n / max</span>; add data-over past the limit.
<div class="rk-demo">
<div class="rk-field" style="width:380px"><label class="rk-label" for="bio">Short bio</label>
<textarea class="rk-textarea" id="bio">Designer and developer based in Ljubljana. Building warm, honest interfaces.</textarea>
<div style="display:flex;justify-content:space-between"><p class="rk-help">Shown on your public profile.</p><span class="rk-counter">78 / 160</span></div></div>
</div>
Combobox
A text input that filters a list of options as you type.
MKMaja Kovač
MNMarko Novak
MHMatej Horvat
MKMaja Kovač
MNMarko Novak
MHMatej Horvat
Markup
An input followed by <ul class="rk-listbox" role="listbox"> of role="option" items; matched text in <b>. Use Fragments' Combobox in React for behaviour.
<div class="rk-range" style="--from:20%;--to:80%"> with rk-range__fill and two rk-range__thumb (role="slider"). Use Fragments' Slider in React for dragging.
Tabs switch between views of the same object; the selected tab has an accent underline.
Markup
rk-tabs with role="tablist", each rk-tab a <button role="tab"> with aria-selected. The consumer provides the panels and the script that toggles aria-selected (or uses Fragments' Tabs in React).
<div class="rk-menu" role="menu"> of <button role="menuitem"> (icon, label, optional rk-kbd), rk-menu__sep, rk-menu__label. Use Fragments' Menu for positioning in React.
An alert is an inline message about the page or a section; always icon + title + one sentence.
Sync scheduled
Data refreshes every night at 02:00.
Invoice sent
Rok will receive it within a few minutes.
Storage almost full
You have used 92% of your plan.
Payment failed
Update your card to keep the workspace active.
Sync scheduled
Data refreshes every night at 02:00.
Invoice sent
Rok will receive it within a few minutes.
Storage almost full
You have used 92% of your plan.
Payment failed
Update your card to keep the workspace active.
Markup
<div class="rk-alert rk-alert--warning" role="status"> with an rk-alert__icon SVG (Lucide), then rk-alert__title and a <p>. Use role="alert" only for --danger that needs immediate attention. The consumer provides the copy and any action link (rk-link).
<div style="padding:24px;display:flex;flex-wrap:wrap;gap:16px;align-items:stretch;background:var(--bg);min-height:100%;box-sizing:border-box"><div style="display:flex;flex-direction:column;gap:12px;width:100%;max-width:560px">
<div class="rk-alert rk-alert--info" role="status"><svg class="rk-alert__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4M12 8h.01"/></svg><div><p class="rk-alert__title">Sync scheduled</p><p>Data refreshes every night at 02:00.</p></div></div>
<div class="rk-alert rk-alert--success" role="status"><svg class="rk-alert__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="m9 12 2 2 4-4"/></svg><div><p class="rk-alert__title">Invoice sent</p><p>Rok will receive it within a few minutes.</p></div></div>
<div class="rk-alert rk-alert--warning" role="status"><svg class="rk-alert__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z"/><path d="M12 9v4M12 17h.01"/></svg><div><p class="rk-alert__title">Storage almost full</p><p>You have used 92% of your plan.</p></div></div>
<div class="rk-alert rk-alert--danger" role="alert"><svg class="rk-alert__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="m15 9-6 6M9 9l6 6"/></svg><div><p class="rk-alert__title">Payment failed</p><p>Update your card to keep the workspace active.</p></div></div></div></div>
Toast
A short, temporary message after an action.
Report exported
invoices-q4.csv is in your downloads.
Couldn't save
Check your connection.
Report exported
invoices-q4.csv is in your downloads.
Couldn't save
Check your connection.
Markup
<div class="rk-toast" role="status"> with rk-toast__icon data-tone="success|danger|warning|info", title, text and an action or close button. Stack bottom-right.
<div class="rk-error-page"> with a big rk-error-page__code in brand orange, a Fraunces title, one sentence and two actions.
<div class="rk-demo">
<div class="rk-error-page" style="width:100%"><div class="rk-error-page__code">404</div><h2 class="rk-error-page__title">This page wandered off</h2><p class="rk-empty__text">The link may be old, or the page moved. Try the dashboard or search.</p><div class="rk-row" style="justify-content:center"><a class="rk-btn rk-btn--primary" href="#">Back to dashboard</a><a class="rk-btn rk-btn--secondary" href="#">Contact support</a></div></div>
</div>
Overlays4
Dialog
A dialog interrupts for a confirmation or a short focused task.
Delete “Spring launch”?
The project and its 14 reports will be removed for everyone. This cannot be undone.
Delete “Spring launch”?
The project and its 14 reports will be removed for everyone. This cannot be undone.
Markup
use a native <dialog class="rk-dialog"> opened with showModal() (backdrop and focus trapping come free), containing rk-dialog__title, rk-dialog__body and rk-dialog__actions. The consumer provides the copy and the open/close logic.
<div style="padding:24px;display:flex;flex-wrap:wrap;gap:16px;align-items:center;background:var(--bg);min-height:100%;box-sizing:border-box"><div class="rk-dialog" role="dialog" aria-labelledby="dt" style="position:static">
<h2 class="rk-dialog__title" id="dt">Delete “Spring launch”?</h2>
<p class="rk-dialog__body">The project and its 14 reports will be removed for everyone. This cannot be undone.</p>
<div class="rk-dialog__actions"><button class="rk-btn rk-btn--ghost">Cancel</button><button class="rk-btn rk-btn--danger">Delete project</button></div></div></div>
Drawer
A panel that slides in from the edge for filters, details or editing.
Markup
<aside class="rk-drawer" role="dialog"> with head, scrollable body and footer; in production use position: fixed over the overlay backdrop.
A card groups related content on surface with a border hairline and radius-lg.
Revenue by channel
Last 30 days · updated 4 min ago
On track
Direct€48,210
Partners€31,905
Other€6,120
Revenue by channel
Last 30 days · updated 4 min ago
On track
Direct€48,210
Partners€31,905
Other€6,120
Markup
rk-card with optional rk-card__header (rk-card__title, rk-card__desc, a trailing badge or menu), rk-card__body, rk-card__footer. The consumer provides the content and decides the grid around it (space-8 gaps).
Stacked sections that expand and collapse; built on native <details>.
How is VAT calculated?
We apply the Slovenian rate of 22% unless a valid EU VAT ID is on the invoice.
Can I export to Excel?
Yes — every table exports to CSV and XLSX.
Is there a dark theme?
It follows your system setting, and you can switch it in Settings.
How is VAT calculated?
We apply the Slovenian rate of 22% unless a valid EU VAT ID is on the invoice.
Can I export to Excel?
Yes — every table exports to CSV and XLSX.
Is there a dark theme?
It follows your system setting, and you can switch it in Settings.
Markup
<div class="rk-accordion"> of <details><summary>Question + chevron</summary><p>…</p></details>. No JavaScript needed.
<div class="rk-demo">
<div class="rk-accordion" style="width:100%;max-width:520px">
<details open><summary>How is VAT calculated?<svg class="rk-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg></summary><p>We apply the Slovenian rate of 22% unless a valid EU VAT ID is on the invoice.</p></details>
<details><summary>Can I export to Excel?<svg class="rk-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg></summary><p>Yes — every table exports to CSV and XLSX.</p></details>
<details><summary>Is there a dark theme?<svg class="rk-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg></summary><p>It follows your system setting, and you can switch it in Settings.</p></details></div>
</div>
List
Rows of items with a leading visual, two lines of text and a trailing action.
MK
Maja Kovačmaja@rokreativa.si
Admin
MN
Marko Novakmarko@rokreativa.si
Editor
TH
Tina HorvatInvited · expires in 6 days
MK
Maja Kovačmaja@rokreativa.si
Admin
MN
Marko Novakmarko@rokreativa.si
Editor
TH
Tina HorvatInvited · expires in 6 days
Markup
<ul class="rk-list"> of <li>: avatar/icon, rk-list__main (<b> + <span>), trailing badge or button.
A month grid for picking dates or ranges and showing events.
December 2026
MoTuWeThFrSaSu
December 2026
MoTuWeThFrSaSu
Markup
<div class="rk-calendar"> with head and rk-calendar__grid of rk-calendar__day buttons; attributes aria-current="date", aria-selected, data-in-range, data-range-start|end, data-event, data-muted.
<article class="rk-media-card"> with rk-media-card__media (img, 16:9) and rk-media-card__body.
<div class="rk-demo">
<article class="rk-media-card" style="width:300px"><div class="rk-media-card__media"><svg class="rk-icon" viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="3" width="18" height="18" rx="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-5-5L5 21"/></svg></div>
<div class="rk-media-card__body"><span class="rk-tag rk-tag--accent">Case study</span><h3>How Kavarna Rog cut reporting time in half</h3><p>A small café chain moved from spreadsheets to one dashboard.</p><a class="rk-link rk-link--arrow" href="#">Read story <svg class="rk-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12h14M12 5l7 7-7 7"/></svg></a></div></article>
</div>
Dashboard16
Stat
A stat tile shows one KPI: label, value, and the change against a stated period.
Revenue€128,430+12.4% vs October
Active users12,480▲ 3.2% vs last week
Churn2.1%▼ 0.4 pt vs last week
Revenue€128,430+12.4% vs October
Active users12,480▲ 3.2% vs last week
Churn2.1%▼ 0.4 pt vs last week
Markup
rk-stat containing rk-stat__label (overline), rk-stat__value (metric-lg, tabular figures) and rk-stat__meta with an optional rk-stat__delta--up / --down. The consumer provides the formatted value, delta and period.
<div style="padding:24px;display:flex;flex-wrap:wrap;gap:16px;align-items:stretch;background:var(--bg);min-height:100%;box-sizing:border-box"><div style="display:grid;grid-template-columns:repeat(3,1fr);gap:16px;width:100%">
<div class="rk-stat rk-stat--brand"><span class="rk-stat__label">Revenue</span><span class="rk-stat__value">€128,430</span><span class="rk-stat__meta">+12.4% vs October</span></div>
<div class="rk-stat"><span class="rk-stat__label">Active users</span><span class="rk-stat__value">12,480</span><span class="rk-stat__meta"><span class="rk-stat__delta--up">▲ 3.2%</span> vs last week</span></div>
<div class="rk-stat"><span class="rk-stat__label">Churn</span><span class="rk-stat__value">2.1%</span><span class="rk-stat__meta"><span class="rk-stat__delta--down">▼ 0.4 pt</span> vs last week</span></div></div></div>
Table
A table lists records with an overline header on surface-sunken and hairline rows.
Client
Status
Amount
Invoice
Kavarna Rog
Paid
€2,400.00
INV-0412
Studio Šiška
Pending
€860.50
INV-0413
Žabjak d.o.o.
Overdue
€1,175.00
INV-0409
Client
Status
Amount
Invoice
Kavarna Rog
Paid
€2,400.00
INV-0412
Studio Šiška
Pending
€860.50
INV-0413
Žabjak d.o.o.
Overdue
€1,175.00
INV-0409
Markup
<table class="rk-table"> with <thead>/<tbody>; mark number cells data-num (right-aligned, tabular). rk-table--dense tightens rows. The consumer provides rows, sorting and pagination.
Grouped vertical bars for comparing values across categories.
DirectPartners
DirectPartners
Markup
<figure class="rk-chart"> with an rk-chart__legend and an inline SVG using classes s1…s5 (fills bound to chart-1…5), rk-chart__grid, rk-chart__axis. Works with any chart library that lets you set CSS classes.
<section class="rk-logos"> with a kicker <p> and rk-logos__row of <img> (shown here as names).
<div class="rk-demo">
<section class="rk-logos" style="width:100%"><p>Trusted by teams across Slovenia</p>
<div class="rk-logos__row"><span>Kavarna Rog</span><span>Studio Šiška</span><span>Žabjak</span><span>Pekarna Pečjak</span><span>Kolektiv 7</span></div></section>
</div>
FeatureGrid
A grid of 3–6 benefits, each with icon, title and one sentence.
Live dashboards
Connect your tools once; numbers update every few minutes.
Built for teams
Share reports with clients without giving away logins.
EU-hosted
Data stays in the EU and meets GDPR by default.
Dark theme
Follows your system, switches in one click.
Live dashboards
Connect your tools once; numbers update every few minutes.
Built for teams
Share reports with clients without giving away logins.
EU-hosted
Data stays in the EU and meets GDPR by default.
Dark theme
Follows your system, switches in one click.
Markup
<section class="rk-features"> of rk-feature blocks.
<div class="rk-demo">
<section class="rk-features" style="width:100%">
<div class="rk-feature"><span class="rk-feature__icon"><svg class="rk-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M3 3v18h18M7 16v-5M12 16V8M17 16v-9"/></svg></span><h3>Live dashboards</h3><p>Connect your tools once; numbers update every few minutes.</p></div>
<div class="rk-feature"><span class="rk-feature__icon"><svg class="rk-icon" viewBox="0 0 24 24" aria-hidden="true"><circle cx="9" cy="8" r="4"/><path d="M2 21a7 7 0 0 1 14 0M16 3.1a4 4 0 0 1 0 7.8M22 21a7 7 0 0 0-5-6.7"/></svg></span><h3>Built for teams</h3><p>Share reports with clients without giving away logins.</p></div>
<div class="rk-feature"><span class="rk-feature__icon"><svg class="rk-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10"/></svg></span><h3>EU-hosted</h3><p>Data stays in the EU and meets GDPR by default.</p></div>
<div class="rk-feature"><span class="rk-feature__icon"><svg class="rk-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8"/></svg></span><h3>Dark theme</h3><p>Follows your system, switches in one click.</p></div></section>
</div>
FeatureSplit
One feature explained in depth: text on one side, visual on the other.
Reports
Monthly reports that write themselves
Pick a template, choose your sources and rokrealab sends a polished PDF to your clients on the first of every month.
Branded with your logo
Comments and approvals
Export to PDF, CSV or XLSX
Report sent1 Dec · 08:00
Reports
Monthly reports that write themselves
Pick a template, choose your sources and rokrealab sends a polished PDF to your clients on the first of every month.
Branded with your logo
Comments and approvals
Export to PDF, CSV or XLSX
Report sent1 Dec · 08:00
Markup
<section class="rk-split-feature"> with rk-split-feature__text (kicker, h2, paragraph, rk-checklist) and rk-split-feature__media. Alternate sides down the page.
<div class="rk-demo">
<section class="rk-split-feature" style="width:100%">
<div class="rk-split-feature__text"><span class="rk-stat__label" style="color:var(--accent-text)">Reports</span><h2>Monthly reports that write themselves</h2><p>Pick a template, choose your sources and rokrealab sends a polished PDF to your clients on the first of every month.</p>
<ul class="rk-checklist"><li><svg class="rk-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg>Branded with your logo</li><li><svg class="rk-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg>Comments and approvals</li><li><svg class="rk-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M20 6 9 17l-5-5"/></svg>Export to PDF, CSV or XLSX</li></ul></div>
<div class="rk-split-feature__media"><div class="rk-stat"><span class="rk-stat__label">Report sent</span><span class="rk-stat__value" style="font-size:28px">1 Dec · 08:00</span></div></div></section>
</div>
“We stopped emailing spreadsheets. Clients open their dashboard every Monday — it finally looks like us.”
ABAna B. Founder, example studio
“Setup took one afternoon.”
LPLuka P. Ops lead
“We stopped emailing spreadsheets. Clients open their dashboard every Monday — it finally looks like us.”
ABAna B. Founder, example studio
“Setup took one afternoon.”
LPLuka P. Ops lead
Markup
<figure class="rk-quote"> with <blockquote> and <figcaption> (avatar, name, role); --large for the lead quote.
<div class="rk-demo">
<section class="rk-testimonials" style="width:100%">
<figure class="rk-quote rk-quote--large"><blockquote>“We stopped emailing spreadsheets. Clients open their dashboard every Monday — it finally looks like us.”</blockquote><figcaption><span class="rk-avatar">AB</span><span><b>Ana B.</b><br>Founder, example studio</span></figcaption></figure>
<figure class="rk-quote"><blockquote>“Setup took one afternoon.”</blockquote><figcaption><span class="rk-avatar rk-avatar--sm">LP</span><span><b>Luka P.</b><br>Ops lead</span></figcaption></figure></section>
</div>
Faq
A frequently-asked-questions section using the Accordion.
Yes. Your plan stays active until the end of the billing period.
Do you issue Slovenian invoices?
Yes, with VAT and in euro.
Where is my data stored?
In EU data centres.
Markup
<section class="rk-faq"> with a heading column and an rk-accordion.
<div class="rk-demo">
<section class="rk-faq" style="width:100%"><div><h2>Questions, answered</h2><p class="rk-help" style="font-size:15px">Can't find it? <a class="rk-link" href="#">Write to us</a>.</p></div>
<div class="rk-accordion"><details open><summary>Can I cancel anytime?<svg class="rk-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg></summary><p>Yes. Your plan stays active until the end of the billing period.</p></details><details><summary>Do you issue Slovenian invoices?<svg class="rk-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg></summary><p>Yes, with VAT and in euro.</p></details><details><summary>Where is my data stored?<svg class="rk-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg></summary><p>In EU data centres.</p></details></div></section>
</div>
CtaBanner
A closing call-to-action block on brand orange.
Ready to see your numbers clearly?
Start free — set up your first dashboard in under ten minutes.
<section class="rk-cta"> with heading, one sentence and two buttons (rk-cta__btn, rk-cta__ghost).
<div class="rk-demo">
<section class="rk-cta" style="width:100%"><div><h2>Ready to see your numbers clearly?</h2><p>Start free — set up your first dashboard in under ten minutes.</p></div><div class="rk-row"><a class="rk-btn rk-btn--lg rk-cta__btn" href="#">Start free trial</a><a class="rk-btn rk-btn--lg rk-cta__ghost" href="#">Talk to us <svg class="rk-icon" viewBox="0 0 24 24" aria-hidden="true"><path d="M5 12h14M12 5l7 7-7 7"/></svg></a></div></section>
</div>
Newsletter
An email sign-up block.
Notes from the lab
One email a month on dashboards, design and data. No spam.
You can unsubscribe with one click.
Notes from the lab
One email a month on dashboards, design and data. No spam.
You can unsubscribe with one click.
Markup
<section class="rk-newsletter"> with title, promise, rk-newsletter__form (input + primary button) and a reassurance line.
<div class="rk-demo">
<section class="rk-newsletter" style="width:100%;max-width:560px"><h3>Notes from the lab</h3><p>One email a month on dashboards, design and data. No spam.</p>
<form class="rk-newsletter__form"><input class="rk-input" type="email" placeholder="name@company.si" aria-label="Email"><button class="rk-btn rk-btn--primary" type="button">Subscribe</button></form><p class="rk-help">You can unsubscribe with one click.</p></section>
</div>
Footer
The site footer with link columns, legal and status.
Markup
<footer class="rk-footer"> with rk-footer__brand, 3 <nav> columns and rk-footer__bottom.