Components
Every building block in Selaras, live and ready to copy. Switch the theme or mode — the examples follow.
Colors
Use the CSS variables, never the hex values — every color below changes with the theme and mode. Click a swatch to copy its variable.
Brand follow the theme
Semantic same in every theme
Neutrals flip in dark mode
Typography
Plus Jakarta Sans at a 14 px base. Put the classes on real headings (h1–h4) in your pages; numbers use tabular figures so columns line up.
Quarterly revenue review
.sl-page-title · 22 / 600Revenue by channel
.sl-card-title · 17 / 600Recent activity
.sl-section-label · 11.5 / 600 · capsBody text is set in ink 2 for comfortable reading across long paragraphs and table cells.
body · 14 / 400Supporting text, captions and timestamps.
.sl-muted · ink 3$184,920.00
.sl-num · tabular figures<div class="sl-cx-type">
<div><p class="sl-page-title">Quarterly revenue review</p><small>.sl-page-title · 22 / 600</small></div>
<div><p class="sl-card-title">Revenue by channel</p><small>.sl-card-title · 17 / 600</small></div>
<div><p class="sl-section-label">Recent activity</p><small>.sl-section-label · 11.5 / 600 · caps</small></div>
<div><p>Body text is set in ink 2 for comfortable reading across long paragraphs and table cells.</p><small>body · 14 / 400</small></div>
<div><p class="sl-muted">Supporting text, captions and timestamps.</p><small>.sl-muted · ink 3</small></div>
<div><p><span class="sl-num">$184,920.00</span></p><small>.sl-num · tabular figures</small></div>
<div><p><a href="#typography">A link inside text</a></p><small>a · primary text</small></div>
</div> Buttons
One primary button per view for the main action; light buttons for everything else. Disabled and busy buttons use aria-disabled, so they stay focusable and screen readers still announce them.
Variants
<button class="sl-btn sl-btn-primary" type="button">Save changes</button>
<button class="sl-btn sl-btn-light" type="button">Cancel</button>
<button class="sl-btn sl-btn-danger-soft" type="button"><i class="ti ti-trash" aria-hidden="true"></i>Delete</button>
<button class="sl-linkbtn" type="button">Link button</button> Sizes
<button class="sl-btn sl-btn-primary sl-btn-sm" type="button">Small</button>
<button class="sl-btn sl-btn-primary" type="button">Default</button>
<button class="sl-btn sl-btn-primary sl-btn-lg" type="button">Large</button>
<button class="sl-btn sl-btn-light sl-btn-sm" type="button">Small</button>
<button class="sl-btn sl-btn-light" type="button">Default</button>
<button class="sl-btn sl-btn-light sl-btn-lg" type="button">Large</button> With icons
<button class="sl-btn sl-btn-primary" type="button"><i class="ti ti-plus" aria-hidden="true"></i>New invoice</button>
<button class="sl-btn sl-btn-light" type="button"><i class="ti ti-download" aria-hidden="true"></i>Export</button>
<button class="sl-icon-btn" type="button" aria-label="Notifications, 3 unread"><i class="ti ti-bell" aria-hidden="true"></i><span class="dot"></span></button>
<button class="sl-icon-btn" type="button" aria-label="Settings"><i class="ti ti-settings" aria-hidden="true"></i></button>
<button class="sl-icon-btn sl-icon-btn--sm" type="button" aria-label="Edit"><i class="ti ti-pencil" aria-hidden="true"></i></button>
<button class="sl-icon-btn sl-icon-btn--ghost" type="button" aria-label="More actions"><i class="ti ti-dots-vertical" aria-hidden="true"></i></button> States
<button class="sl-btn sl-btn-primary is-busy" type="button" aria-disabled="true"><span class="sl-spin" aria-hidden="true"></span>Saving…</button>
<button class="sl-btn sl-btn-primary" type="button" aria-disabled="true">Disabled</button>
<button class="sl-btn sl-btn-light is-done" type="button"><i class="ti ti-check" aria-hidden="true"></i>Saved</button> Full width
<button class="sl-btn sl-btn-primary sl-btn-lg sl-btn-block" type="button">Create account</button> Badges & status
Status pills always pair a color with an icon and a word, so meaning never depends on color alone.
Status
<span class="sl-status sl-status--success"><i class="ti ti-circle-check" aria-hidden="true"></i>Paid</span>
<span class="sl-status sl-status--info"><i class="ti ti-clock" aria-hidden="true"></i>Pending</span>
<span class="sl-status sl-status--warning"><i class="ti ti-alert-triangle" aria-hidden="true"></i>Low stock</span>
<span class="sl-status sl-status--danger"><i class="ti ti-alert-circle" aria-hidden="true"></i>Overdue</span>
<span class="sl-status sl-status--secondary"><i class="ti ti-eye" aria-hidden="true"></i>In review</span>
<span class="sl-status sl-status--neutral"><i class="ti ti-pencil" aria-hidden="true"></i>Draft</span> Chips & keys
<span class="sl-chip sl-chip-success"><i class="ti ti-trending-up" aria-hidden="true"></i>12.4%</span>
<span class="sl-chip sl-chip-danger"><i class="ti ti-trending-down" aria-hidden="true"></i>3.1%</span>
<span class="sl-chip sl-chip-neutral">Beta</span>
<kbd class="sl-kbd">Ctrl K</kbd> Avatars
Five tones that follow the theme, a gradient for the signed-in user, stacks for teams and rounded tiles for companies.
Initials & stack
<span class="sl-av sl-av--me" title="Sendy Hartanto">SH</span>
<span class="sl-av sl-av--1" title="Aditya Wibowo">AW</span>
<span class="sl-av sl-av--2" title="Farhan Rizki">FR</span>
<span class="sl-av sl-av--3" title="Grace Liu">GL</span>
<span class="sl-av sl-av--4" title="Clara Mendes">CM</span>
<span class="sl-av sl-av--5" title="Hendra Saputra">HS</span>
<span class="sl-stack" aria-label="6 people">
<span class="sl-av sl-av--me">SH</span><span class="sl-av sl-av--1">AW</span><span class="sl-av sl-av--4">CM</span><span class="sl-av sl-av--more">+3</span>
</span> Person & company tiles
<div class="sl-person">
<span class="sl-av sl-av--4">CM</span>
<span><strong>Clara Mendes</strong><small>Product designer</small></span>
</div>
<span class="sl-thumb sl-thumb--1" title="Verdant Foods"><i class="ti ti-leaf" aria-hidden="true"></i></span>
<span class="sl-thumb sl-thumb--2" title="Lumen Fitness"><i class="ti ti-run" aria-hidden="true"></i></span>
<span class="sl-thumb sl-thumb--3" title="Pinecrest HR"><i class="ti ti-building" aria-hidden="true"></i></span>
<span class="sl-thumb sl-thumb--4" title="Harbor Coffee"><i class="ti ti-coffee" aria-hidden="true"></i></span>
<span class="sl-thumb sl-thumb--5" title="Atlas Law"><i class="ti ti-scale" aria-hidden="true"></i></span> Alerts
For messages that belong to the page. Add role="alert" only when you insert one in response to an action — static alerts need no role. data-sl-dismiss closes the alert and moves focus to what follows.
Selaras will be unavailable on Sunday, 27 Sep from 01:00 to 02:00 (UTC+7).
Atlas Law paid INV-2026-0143 in full on Sep 9.
$8,800 in total — the oldest by 30 days.
The card ending 4242 was declined. Update your billing details to keep your workspace active.
<div class="sl-alert sl-alert--info">
<i class="ti ti-info-circle" aria-hidden="true"></i>
<div class="sl-alert-body">
<strong>Scheduled maintenance</strong>
<p>Selaras will be unavailable on Sunday, 27 Sep from 01:00 to 02:00 (UTC+7).</p>
</div>
<button class="sl-alert-close" type="button" aria-label="Dismiss" data-sl-dismiss><i class="ti ti-x" aria-hidden="true"></i></button>
</div>
<div class="sl-alert sl-alert--success">
<i class="ti ti-circle-check" aria-hidden="true"></i>
<div class="sl-alert-body">
<strong>Payment received</strong>
<p>Atlas Law paid INV-2026-0143 in full on Sep 9.</p>
</div>
</div>
<div class="sl-alert sl-alert--warning">
<i class="ti ti-alert-triangle" aria-hidden="true"></i>
<div class="sl-alert-body">
<strong>2 invoices are overdue</strong>
<p>$8,800 in total — the oldest by 30 days.</p>
<div class="sl-alert-actions"><a class="sl-btn sl-btn-light sl-btn-sm" href="app-invoices.html">Review invoices</a></div>
</div>
</div>
<div class="sl-alert sl-alert--danger">
<i class="ti ti-alert-circle" aria-hidden="true"></i>
<div class="sl-alert-body">
<strong>Payment failed</strong>
<p>The card ending 4242 was declined. Update your billing details to keep your workspace active.</p>
<div class="sl-alert-actions"><button class="sl-btn sl-btn-primary sl-btn-sm" type="button">Update card</button><button class="sl-btn sl-btn-light sl-btn-sm" type="button" data-sl-dismiss>Later</button></div>
</div>
</div> Forms
Every field has a visible label. Help and error text sit right under the field and are linked with aria-describedby; errors also set aria-invalid.
Text fields
Shown on invoices and in email footers.
Enter an email address like name@company.com.
<div class="sl-field">
<label for="cxName">Workspace name</label>
<input class="sl-control" id="cxName" type="text" value="Selaras Studio" aria-describedby="cxNameHelp">
<p class="sl-help" id="cxNameHelp">Shown on invoices and in email footers.</p>
</div>
<div class="sl-field">
<label for="cxEmail">Billing email</label>
<input class="sl-control" id="cxEmail" type="email" value="billing@selaras" aria-invalid="true" aria-describedby="cxEmailErr">
<p class="sl-field-err" id="cxEmailErr"><i class="ti ti-alert-circle" aria-hidden="true"></i>Enter an email address like name@company.com.</p>
</div>
<div class="sl-field">
<label for="cxPlan">Plan</label>
<select class="sl-control" id="cxPlan">
<option>Starter</option>
<option selected>Team</option>
<option>Business</option>
</select>
</div>
<div class="sl-field">
<label for="cxRate">Hourly rate <span class="opt">(optional)</span></label>
<div class="sl-addon"><span>$</span><input class="sl-control" id="cxRate" type="text" inputmode="decimal" value="125.00"><span>per hour</span></div>
</div>
<div class="sl-field sl-cx-span">
<label for="cxNote">Note to client</label>
<textarea class="sl-control" id="cxNote" rows="3" placeholder="Anything the client should know about this invoice"></textarea>
</div> Choices
<fieldset class="sl-choices">
<legend>Email me about</legend>
<label class="sl-check-label"><input class="sl-check" type="checkbox" checked>Paid invoices</label>
<label class="sl-check-label"><input class="sl-check" type="checkbox" checked>Mentions in chat</label>
<label class="sl-check-label"><input class="sl-check" type="checkbox">Weekly summary</label>
</fieldset>
<fieldset class="sl-choices">
<legend>Invoice due in</legend>
<label class="sl-check-label"><input class="sl-radio" type="radio" name="cxTerms" checked>14 days</label>
<label class="sl-check-label"><input class="sl-radio" type="radio" name="cxTerms">30 days</label>
<label class="sl-check-label"><input class="sl-radio" type="radio" name="cxTerms">On receipt</label>
</fieldset>
<fieldset class="sl-choices">
<legend>Security</legend>
<label class="sl-switch-label"><span class="sl-switch"><input type="checkbox" role="switch" checked></span>Two-step verification</label>
<label class="sl-switch-label"><span class="sl-switch"><input type="checkbox" role="switch"></span>Sign out after 30 minutes</label>
<label class="sl-switch-label"><span class="sl-switch sl-switch--sm"><input type="checkbox" role="switch" checked></span>Small switch</label>
</fieldset> Search & segmented control
<label class="sl-input">
<i class="ti ti-search" aria-hidden="true"></i>
<input type="search" placeholder="Search invoices…" aria-label="Search invoices">
</label>
<div class="sl-seg" role="group" aria-label="Period">
<button type="button" aria-pressed="false">Day</button>
<button class="active" type="button" aria-pressed="true">Week</button>
<button type="button" aria-pressed="false">Month</button>
</div> Password & one-time code behaviour from auth.js
Use 8 or more characters. Longer is stronger.
<div class="sl-field">
<label for="cxPass">New password</label>
<div class="sl-pass">
<input class="sl-control" id="cxPass" type="password" autocomplete="new-password" aria-describedby="cxPassHelp">
<button class="sl-pass-toggle" type="button" aria-controls="cxPass" aria-pressed="false" aria-label="Show password" title="Show password"><i class="ti ti-eye" aria-hidden="true"></i></button>
</div>
<p class="sl-caps" aria-live="polite"></p>
<div class="sl-meter" data-meter-for="cxPass" data-level="0">
<div class="sl-meter-bars" aria-hidden="true"><i></i><i></i><i></i><i></i></div>
<p class="sl-meter-text" id="cxPassHelp" aria-live="polite"><b class="sl-meter-label"></b><span class="sl-meter-tip">Use 8 or more characters. Longer is stronger.</span></p>
</div>
</div>
<fieldset class="sl-field">
<legend>Verification code</legend>
<div class="sl-otp">
<input class="sl-otp-box" type="text" inputmode="numeric" autocomplete="one-time-code" aria-label="Digit 1 of 6">
<input class="sl-otp-box" type="text" inputmode="numeric" autocomplete="off" aria-label="Digit 2 of 6">
<input class="sl-otp-box" type="text" inputmode="numeric" autocomplete="off" aria-label="Digit 3 of 6">
<span class="sl-otp-sep" aria-hidden="true"></span>
<input class="sl-otp-box" type="text" inputmode="numeric" autocomplete="off" aria-label="Digit 4 of 6">
<input class="sl-otp-box" type="text" inputmode="numeric" autocomplete="off" aria-label="Digit 5 of 6">
<input class="sl-otp-box" type="text" inputmode="numeric" autocomplete="off" aria-label="Digit 6 of 6">
</div>
</fieldset> Cards & KPIs
Cards fill their grid column (height: 100%), so cards in a row line up. KPI cards use the two theme tints — A for the secondary family, B for primary.
Gross sales
Orders
Website redesign
Harbor Coffee · due Oct 3
Checkout and menu pages are in review before the Oct 3 handover.
<div class="row g-3">
<div class="col-12 col-md-6">
<div class="sl-kpi sl-kpi--a">
<div class="sl-kpi-head"><p class="sl-kpi-label">Gross sales</p><span class="sl-kpi-icon"><i class="ti ti-currency-dollar" aria-hidden="true"></i></span></div>
<div class="sl-kpi-value">$184,920</div>
<div class="sl-kpi-delta"><b class="sl-up"><i class="ti ti-trending-up" aria-hidden="true"></i> +12.4%</b> vs previous 30 days</div>
<svg class="sl-kpi-watermark" aria-hidden="true"><use href="#sl-mark-ghost"/></svg>
</div>
</div>
<div class="col-12 col-md-6">
<div class="sl-kpi sl-kpi--b">
<div class="sl-kpi-head"><p class="sl-kpi-label">Orders</p><span class="sl-kpi-icon"><i class="ti ti-shopping-bag" aria-hidden="true"></i></span></div>
<div class="sl-kpi-value">3,418</div>
<div class="sl-kpi-delta"><b class="sl-up"><i class="ti ti-trending-up" aria-hidden="true"></i> +8.1%</b> vs previous 30 days</div>
<svg class="sl-kpi-watermark" aria-hidden="true"><use href="#sl-mark-ghost"/></svg>
</div>
</div>
<div class="col-12">
<div class="sl-card">
<div class="sl-card-head">
<div>
<h4 class="sl-card-title">Website redesign</h4>
<p class="sl-card-sub">Harbor Coffee · due Oct 3</p>
</div>
<span class="sl-status sl-status--info"><i class="ti ti-progress" aria-hidden="true"></i>In progress</span>
</div>
<p class="sl-cx-card-text">Checkout and menu pages are in review before the Oct 3 handover.</p>
<div class="sl-progress-row"><div class="sl-progress" role="progressbar" aria-label="Website redesign progress" aria-valuenow="72" aria-valuemin="0" aria-valuemax="100"><i style="width:72%"></i></div><span>72%</span></div>
</div>
</div>
</div> Tabs
Works out of the box with selaras.js: click, or use the arrow keys, Home and End. Only the selected tab is in the Tab order.
<div class="sl-tabs" role="tablist" aria-label="Invoices">
<button type="button" role="tab" id="cxTabAll" aria-selected="true" aria-controls="cxPanelAll">All <span class="n">14</span></button>
<button type="button" role="tab" id="cxTabPending" aria-selected="false" aria-controls="cxPanelPending">Pending <span class="n">3</span></button>
<button type="button" role="tab" id="cxTabOverdue" aria-selected="false" aria-controls="cxPanelOverdue">Overdue <span class="n">2</span></button>
<button type="button" role="tab" id="cxTabPaid" aria-selected="false" aria-controls="cxPanelPaid">Paid <span class="n">8</span></button>
</div>
<div class="sl-tabs-panel" role="tabpanel" id="cxPanelAll" aria-labelledby="cxTabAll" tabindex="0">14 invoices across 6 clients.</div>
<div class="sl-tabs-panel" role="tabpanel" id="cxPanelPending" aria-labelledby="cxTabPending" tabindex="0" hidden>3 invoices waiting for payment · $27,500.</div>
<div class="sl-tabs-panel" role="tabpanel" id="cxPanelOverdue" aria-labelledby="cxTabOverdue" tabindex="0" hidden>2 invoices past due · $8,800, the oldest by 30 days.</div>
<div class="sl-tabs-panel" role="tabpanel" id="cxPanelPaid" aria-labelledby="cxTabPaid" tabindex="0" hidden>8 invoices paid in full.</div> Tables
Add data-selectable to a table and the header checkbox selects every row (with the mixed state in between). Wide tables scroll inside .sl-table-wrap, never the page.
Latest invoices
6 of 14 · newest first
| Invoice | Client | Due | Amount | Status | |
|---|---|---|---|---|---|
| INV-2026-0148 | Verdant Foods | Oct 6, 2026 | $8,800.00 | Pending | |
| INV-2026-0147 | Pinecrest HR | Oct 9, 2026 | $8,800.00 | Draft | |
| INV-2026-0146 | Harbor Coffee | Sep 29, 2026 | $7,700.00 | Pending | |
| INV-2026-0145 | Lumen Fitness | Sep 24, 2026 | $11,000.00 | Pending | |
| INV-2026-0144 | Kinetic Labs | Sep 15, 2026 | $5,500.00 | Overdue | |
| INV-2026-0143 | Atlas Law | Sep 11, 2026 | $4,950.00 | Paid |
<div class="sl-card sl-card--flush">
<div class="sl-table-head">
<div>
<h4 class="sl-card-title">Latest invoices</h4>
<p class="sl-card-sub">6 of 14 · newest first</p>
</div>
<a class="sl-btn sl-btn-light sl-btn-sm" href="app-invoices.html">View all</a>
</div>
<div class="sl-table-wrap">
<table class="sl-table" data-selectable>
<thead>
<tr>
<th class="col-check"><input class="sl-check" type="checkbox" aria-label="Select all invoices"></th>
<th scope="col">Invoice</th>
<th scope="col">Client</th>
<th scope="col">Due</th>
<th scope="col" class="num">Amount</th>
<th scope="col">Status</th>
</tr>
</thead>
<tbody>
<tr>
<td class="col-check"><input class="sl-check" type="checkbox" aria-label="Select INV-2026-0148"></td>
<td class="sl-code">INV-2026-0148</td>
<td><span class="sl-person"><span class="sl-thumb sl-thumb--1 sl-thumb--sm"><i class="ti ti-leaf" aria-hidden="true"></i></span><strong>Verdant Foods</strong></span></td>
<td>Oct 6, 2026</td>
<td class="num strong">$8,800.00</td>
<td><span class="sl-status sl-status--info"><i class="ti ti-clock" aria-hidden="true"></i>Pending</span></td>
</tr>
<tr>
<td class="col-check"><input class="sl-check" type="checkbox" aria-label="Select INV-2026-0147"></td>
<td class="sl-code">INV-2026-0147</td>
<td><span class="sl-person"><span class="sl-thumb sl-thumb--3 sl-thumb--sm"><i class="ti ti-building" aria-hidden="true"></i></span><strong>Pinecrest HR</strong></span></td>
<td>Oct 9, 2026</td>
<td class="num strong">$8,800.00</td>
<td><span class="sl-status sl-status--neutral"><i class="ti ti-pencil" aria-hidden="true"></i>Draft</span></td>
</tr>
<tr>
<td class="col-check"><input class="sl-check" type="checkbox" aria-label="Select INV-2026-0146"></td>
<td class="sl-code">INV-2026-0146</td>
<td><span class="sl-person"><span class="sl-thumb sl-thumb--4 sl-thumb--sm"><i class="ti ti-coffee" aria-hidden="true"></i></span><strong>Harbor Coffee</strong></span></td>
<td>Sep 29, 2026</td>
<td class="num strong">$7,700.00</td>
<td><span class="sl-status sl-status--info"><i class="ti ti-clock" aria-hidden="true"></i>Pending</span></td>
</tr>
<tr>
<td class="col-check"><input class="sl-check" type="checkbox" aria-label="Select INV-2026-0145"></td>
<td class="sl-code">INV-2026-0145</td>
<td><span class="sl-person"><span class="sl-thumb sl-thumb--2 sl-thumb--sm"><i class="ti ti-run" aria-hidden="true"></i></span><strong>Lumen Fitness</strong></span></td>
<td>Sep 24, 2026</td>
<td class="num strong">$11,000.00</td>
<td><span class="sl-status sl-status--info"><i class="ti ti-clock" aria-hidden="true"></i>Pending</span></td>
</tr>
<tr>
<td class="col-check"><input class="sl-check" type="checkbox" aria-label="Select INV-2026-0144"></td>
<td class="sl-code">INV-2026-0144</td>
<td><span class="sl-person"><span class="sl-thumb sl-thumb--1 sl-thumb--sm"><i class="ti ti-flask" aria-hidden="true"></i></span><strong>Kinetic Labs</strong></span></td>
<td>Sep 15, 2026</td>
<td class="num strong">$5,500.00</td>
<td><span class="sl-status sl-status--danger"><i class="ti ti-alert-circle" aria-hidden="true"></i>Overdue</span></td>
</tr>
<tr>
<td class="col-check"><input class="sl-check" type="checkbox" aria-label="Select INV-2026-0143"></td>
<td class="sl-code">INV-2026-0143</td>
<td><span class="sl-person"><span class="sl-thumb sl-thumb--5 sl-thumb--sm"><i class="ti ti-scale" aria-hidden="true"></i></span><strong>Atlas Law</strong></span></td>
<td>Sep 11, 2026</td>
<td class="num strong">$4,950.00</td>
<td><span class="sl-status sl-status--success"><i class="ti ti-circle-check" aria-hidden="true"></i>Paid</span></td>
</tr>
</tbody>
</table>
</div>
<div class="sl-table-foot">
<span>Showing 1–6 of 14</span>
<nav class="sl-pager" aria-label="Invoice pages">
<button class="sl-page-btn edge" type="button" aria-label="Previous page" aria-disabled="true"><i class="ti ti-chevron-left" aria-hidden="true"></i></button>
<button class="sl-page-btn active" type="button" aria-current="page">1</button>
<button class="sl-page-btn" type="button">2</button>
<button class="sl-page-btn" type="button">3</button>
<button class="sl-page-btn edge" type="button" aria-label="Next page"><i class="ti ti-chevron-right" aria-hidden="true"></i></button>
</nav>
</div>
</div> Progress & loading
Give progress bars a progressbar role and values. Show a skeleton when you know the layout, a spinner when you don't.
Progress
<div class="sl-cx-prog"><span>Onboarding portal</span><div class="sl-progress-row"><div class="sl-progress" role="progressbar" aria-label="Onboarding portal" aria-valuenow="96" aria-valuemin="0" aria-valuemax="100"><i style="width:96%"></i></div><span>96%</span></div></div>
<div class="sl-cx-prog"><span>Mobile app v2</span><div class="sl-progress-row"><div class="sl-progress sl-progress--warning" role="progressbar" aria-label="Mobile app v2" aria-valuenow="34" aria-valuemin="0" aria-valuemax="100"><i style="width:34%"></i></div><span>34%</span></div></div>
<div class="sl-cx-prog"><span>Data migration</span><div class="sl-progress-row"><div class="sl-progress sl-progress--danger" role="progressbar" aria-label="Data migration" aria-valuenow="12" aria-valuemin="0" aria-valuemax="100"><i style="width:12%"></i></div><span>12%</span></div></div>
<div class="sl-cx-prog"><span>Brand guidelines</span><div class="sl-progress-row"><div class="sl-progress sl-progress--secondary" role="progressbar" aria-label="Brand guidelines" aria-valuenow="18" aria-valuemin="0" aria-valuemax="100"><i style="width:18%"></i></div><span>18%</span></div></div> Spinner & skeleton
<span class="sl-spin sl-spin--lg" role="status" aria-label="Loading"></span>
<button class="sl-btn sl-btn-light is-busy" type="button" aria-disabled="true"><span class="sl-spin" aria-hidden="true"></span>Loading…</button>
<div class="sl-skel-card" aria-hidden="true">
<span class="sl-skel sl-skel--circle"></span>
<span class="sl-skel-lines"><span class="sl-skel sl-skel--title" style="width:55%"></span><span class="sl-skel" style="width:90%"></span><span class="sl-skel" style="width:70%"></span></span>
</div> Modal, toast & tooltip
Modals return focus to the button that opened them. Toasts offer Undo instead of asking "Are you sure?", and pause while hovered or focused.
Modal
<button class="sl-btn sl-btn-primary" type="button" data-bs-toggle="modal" data-bs-target="#cxModal"><i class="ti ti-send" aria-hidden="true"></i>Send invoice</button>
<div class="modal fade sl-modal" id="cxModal" tabindex="-1" aria-labelledby="cxModalTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="sl-modal-head">
<h2 id="cxModalTitle">Send INV-2026-0146</h2>
<button class="sl-icon-btn sl-icon-btn--ghost sl-icon-btn--sm" type="button" data-bs-dismiss="modal" aria-label="Close"><i class="ti ti-x" aria-hidden="true"></i></button>
</div>
<div class="sl-modal-body">
<div class="sl-field">
<label for="cxTo">To</label>
<input class="sl-control" id="cxTo" type="email" value="ava@harborcoffee.com">
</div>
<div class="sl-field">
<label for="cxMsg">Message</label>
<textarea class="sl-control" id="cxMsg" rows="3">Hi Ava, here is the invoice for milestone 2 of the website redesign.</textarea>
</div>
</div>
<div class="sl-modal-foot">
<button class="sl-btn sl-btn-light" type="button" data-bs-dismiss="modal">Cancel</button>
<button class="sl-btn sl-btn-primary" type="button" data-bs-dismiss="modal">Send invoice</button>
</div>
</div>
</div>
</div> Toast the live one appears bottom right
<div class="sl-toast is-in">
<i class="ti ti-circle-check" aria-hidden="true"></i>
<span>Invoice sent to Harbor Coffee</span>
<button type="button">Undo</button>
</div>
<button class="sl-btn sl-btn-light" type="button" data-cx-toast>Show a live toast</button> Tooltip
<button class="sl-btn sl-btn-light" type="button" data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Visible to everyone in the workspace">Hover me</button>
<button class="sl-btn sl-btn-light" type="button" data-bs-toggle="tooltip" data-bs-placement="bottom" data-bs-title="Opens in a new window">Below</button>
<button class="sl-icon-btn" type="button" aria-label="Copy link" data-bs-toggle="tooltip" data-bs-title="Copy link"><i class="ti ti-link" aria-hidden="true"></i></button> Accordion
Bootstrap collapse keeps aria-expanded in sync. Give the group a data-bs-parent to open one item at a time; leave it out to allow several.
One open at a time
<div class="sl-acc" id="cxAcc">
<div class="sl-acc-item">
<h4 class="sl-acc-h"><button class="sl-acc-btn" type="button" data-bs-toggle="collapse" data-bs-target="#cxAcc1" aria-expanded="true" aria-controls="cxAcc1">How do refunds work?<i class="ti ti-chevron-down" aria-hidden="true"></i></button></h4>
<div class="collapse show" id="cxAcc1" data-bs-parent="#cxAcc"><div class="sl-acc-body">Refunds go back the way the customer paid. Cash comes out of the drawer; bakery items can go back to stock.</div></div>
</div>
<div class="sl-acc-item">
<h4 class="sl-acc-h"><button class="sl-acc-btn collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#cxAcc2" aria-expanded="false" aria-controls="cxAcc2">Can I void a sale from yesterday?<i class="ti ti-chevron-down" aria-hidden="true"></i></button></h4>
<div class="collapse" id="cxAcc2" data-bs-parent="#cxAcc"><div class="sl-acc-body">No — only sales from the open shift can be voided. Refund older sales instead, so the closed shift’s report stays true.</div></div>
</div>
<div class="sl-acc-item">
<h4 class="sl-acc-h"><button class="sl-acc-btn collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#cxAcc3" aria-expanded="false" aria-controls="cxAcc3">Where do member points come from?<i class="ti ti-chevron-down" aria-hidden="true"></i></button></h4>
<div class="collapse" id="cxAcc3" data-bs-parent="#cxAcc"><div class="sl-acc-body">One point per dollar paid, rounded down. Refunds take the points back; voids cancel them.</div></div>
</div>
</div> List group
Plain lists with dividers. Make a whole row a link only when it does one thing; put switches and buttons in rows that do several.
Linked rows
<ul class="sl-list sl-list--links">
<li><a class="sl-list-link" href="projects.html"><span class="sl-av sl-av--5">HS</span><span class="sl-list-main"><b>Hendra Saputra</b><small>Project lead · 3 projects</small></span><span class="sl-status sl-status--success"><i class="ti ti-circle-check" aria-hidden="true"></i>Available</span><i class="ti ti-chevron-right sl-list-go" aria-hidden="true"></i></a></li>
<li><a class="sl-list-link" href="projects.html"><span class="sl-av sl-av--1">AW</span><span class="sl-list-main"><b>Aditya Wibowo</b><small>Frontend · 4 projects</small></span><span class="sl-status sl-status--danger"><i class="ti ti-flame" aria-hidden="true"></i>113% booked</span><i class="ti ti-chevron-right sl-list-go" aria-hidden="true"></i></a></li>
<li><a class="sl-list-link" href="projects.html"><span class="sl-av sl-av--4">CM</span><span class="sl-list-main"><b>Clara Mendes</b><small>Product design · 4 projects</small></span><span class="sl-status sl-status--warning"><i class="ti ti-alert-triangle" aria-hidden="true"></i>85% booked</span><i class="ti ti-chevron-right sl-list-go" aria-hidden="true"></i></a></li>
</ul> Settings & checklist
- Low stock alertsEmail when an item drops below its reorder point
- Daily sales summarySent at 18:00 to the store owner
- Add your first productDone
- Set shipping ratesDone
- Connect a payment method2 min
<ul class="sl-list">
<li class="sl-list-row"><span class="sl-list-main"><b>Low stock alerts</b><small>Email when an item drops below its reorder point</small></span><span class="sl-switch sl-switch--sm"><input type="checkbox" role="switch" checked aria-label="Low stock alerts"></span></li>
<li class="sl-list-row"><span class="sl-list-main"><b>Daily sales summary</b><small>Sent at 18:00 to the store owner</small></span><span class="sl-switch sl-switch--sm"><input type="checkbox" role="switch" aria-label="Daily sales summary"></span></li>
</ul>
<ol class="sl-list sl-list--check">
<li class="is-done"><i class="ti ti-circle-check" aria-hidden="true"></i><span>Add your first product</span><small>Done</small></li>
<li class="is-done"><i class="ti ti-circle-check" aria-hidden="true"></i><span>Set shipping rates</span><small>Done</small></li>
<li><i class="ti ti-circle-dashed" aria-hidden="true"></i><span>Connect a payment method</span><small>2 min</small></li>
</ol> Timeline
An ordered list, newest first. The icon carries the kind of event; the text always says it too.
Activity
- Invoice INV-2026-0142 paid
Harbor Coffee paid $7,700.00 by bank transfer.
- Refund on sale #1039
$4.95 back to QR pay · wrong order.
- Shipment ASN-5525 at the dock
Nutrilab Asia · 3 lines, 1,800 units expected.
- Nadia Putri joined the studio
Content strategist · added to Destination guides.
<ol class="sl-tl">
<li class="is-success"><span class="sl-tl-dot"><i class="ti ti-circle-check" aria-hidden="true"></i></span><div><b>Invoice INV-2026-0142 paid</b><p>Harbor Coffee paid $7,700.00 by bank transfer.</p></div><time datetime="2026-09-23T10:32">10:32</time></li>
<li class="is-warning"><span class="sl-tl-dot"><i class="ti ti-receipt-refund" aria-hidden="true"></i></span><div><b>Refund on sale #1039</b><p>$4.95 back to QR pay · wrong order.</p></div><time datetime="2026-09-23T10:40">10:40</time></li>
<li class="is-info"><span class="sl-tl-dot"><i class="ti ti-truck-delivery" aria-hidden="true"></i></span><div><b>Shipment ASN-5525 at the dock</b><p>Nutrilab Asia · 3 lines, 1,800 units expected.</p></div><time datetime="2026-09-23T09:05">09:05</time></li>
<li><span class="sl-tl-dot"><i class="ti ti-user-plus" aria-hidden="true"></i></span><div><b>Nadia Putri joined the studio</b><p>Content strategist · added to Destination guides.</p></div><time datetime="2026-09-22T16:20">Yesterday</time></li>
</ol> Carousel
No autoplay — people move it themselves with the arrows, the dots or the arrow keys, and every slide has a text label.
Announcements
<div class="carousel slide sl-carousel" id="cxCarousel" data-bs-ride="false" data-bs-interval="false" data-bs-keyboard="true" aria-roledescription="carousel" aria-label="What’s new" tabindex="0">
<div class="carousel-indicators sl-car-dots">
<button type="button" data-bs-target="#cxCarousel" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1 of 3: Point of Sale"></button>
<button type="button" data-bs-target="#cxCarousel" data-bs-slide-to="1" aria-label="Slide 2 of 3: Projects"></button>
<button type="button" data-bs-target="#cxCarousel" data-bs-slide-to="2" aria-label="Slide 3 of 3: Charts"></button>
</div>
<div class="carousel-inner">
<div class="carousel-item active" role="group" aria-roledescription="slide" aria-label="1 of 3"><div class="sl-car-slide sl-car-slide--1"><i class="ti ti-cash-register" aria-hidden="true"></i><b>Point of Sale</b><p>Refunds, voids and a full sales history — straight from the register.</p><a class="sl-btn sl-btn-light sl-btn-sm" href="pos-sales.html">See sales</a></div></div>
<div class="carousel-item" role="group" aria-roledescription="slide" aria-label="2 of 3"><div class="sl-car-slide sl-car-slide--2"><i class="ti ti-subtask" aria-hidden="true"></i><b>Projects</b><p>Timesheets, workload and a live timeline for every client project.</p><a class="sl-btn sl-btn-light sl-btn-sm" href="projects.html">Open projects</a></div></div>
<div class="carousel-item" role="group" aria-roledescription="slide" aria-label="3 of 3"><div class="sl-car-slide sl-car-slide--3"><i class="ti ti-chart-histogram" aria-hidden="true"></i><b>Charts</b><p>Thirteen chart types that follow your theme — with a table view for each.</p><a class="sl-btn sl-btn-light sl-btn-sm" href="ui-charts.html">Browse charts</a></div></div>
</div>
<button class="carousel-control-prev sl-car-ctl" type="button" data-bs-target="#cxCarousel" data-bs-slide="prev"><i class="ti ti-chevron-left" aria-hidden="true"></i><span class="visually-hidden">Previous slide</span></button>
<button class="carousel-control-next sl-car-ctl" type="button" data-bs-target="#cxCarousel" data-bs-slide="next"><i class="ti ti-chevron-right" aria-hidden="true"></i><span class="visually-hidden">Next slide</span></button>
</div> Popover & offcanvas
Popovers open on click and hold a short explanation — keep actions out of them. An offcanvas panel slides in for filters or details and returns focus to its button when it closes.
Popover
<button class="sl-btn sl-btn-light" type="button" data-bs-toggle="popover" data-bs-placement="top" data-bs-title="Net sales" data-bs-content="Gross sales minus refunds issued in the same range. Voided sales never count.">Top</button>
<button class="sl-btn sl-btn-light" type="button" data-bs-toggle="popover" data-bs-placement="right" data-bs-title="Cover" data-bs-content="Days of stock left at the 14-day average outflow.">Right</button>
<button class="sl-btn sl-btn-light" type="button" data-bs-toggle="popover" data-bs-placement="bottom" data-bs-content="Popovers close with Esc or a second click.">Bottom, no title</button> Offcanvas
Filters
<button class="sl-btn sl-btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#cxCanvas" aria-controls="cxCanvas"><i class="ti ti-adjustments-horizontal"></i>Filters</button>
<div class="offcanvas offcanvas-end sl-oc" tabindex="-1" id="cxCanvas" aria-labelledby="cxCanvasTitle">
<div class="sl-oc-head"><h2 id="cxCanvasTitle">Filters</h2><button type="button" class="sl-icon-btn sl-icon-btn--ghost sl-icon-btn--sm" data-bs-dismiss="offcanvas" aria-label="Close"><i class="ti ti-x"></i></button></div>
<div class="sl-oc-body">
<div class="sl-field"><label for="cxOcStatus">Status</label><select class="sl-control" id="cxOcStatus"><option>Any status</option><option>Paid</option><option>Refunded</option></select></div>
<div class="sl-field"><label for="cxOcFrom">From</label><input class="sl-control" type="date" id="cxOcFrom" value="2026-09-17"></div>
<label class="sl-check-label"><input class="sl-check" type="checkbox" checked>Members only</label>
</div>
<div class="sl-oc-foot"><button type="button" class="sl-btn sl-btn-light" data-bs-dismiss="offcanvas">Cancel</button><button type="button" class="sl-btn sl-btn-primary" data-bs-dismiss="offcanvas" data-cx-apply>Apply filters</button></div>
</div> Empty states
Say what is missing and offer the next step. Use the compact version inside cards and filtered lists.
No projects match these filters.
<div class="sl-empty">
<span class="sl-empty-icon" aria-hidden="true"><i class="ti ti-file-invoice"></i></span>
<h4>No invoices yet</h4>
<p>Create your first invoice and it will show up here, ready to send.</p>
<div class="sl-empty-actions">
<a class="sl-btn sl-btn-primary" href="app-invoice-edit.html"><i class="ti ti-plus" aria-hidden="true"></i>New invoice</a>
<button class="sl-btn sl-btn-light" type="button">Import CSV</button>
</div>
</div>
<p class="sl-empty sl-empty--compact"><i class="ti ti-filter-off" aria-hidden="true"></i>No projects match these filters. <button class="sl-linkbtn" type="button">Clear filters</button></p> Icons
Tabler Icons 3.19 as a webfont — 5,000+ icons, all MIT. Decorative icons get aria-hidden="true"; icon-only buttons need an aria-label. Click an icon to copy its tag.
<i class="ti ti-bell" aria-hidden="true"></i>
<i class="ti ti-bell fs-5" aria-hidden="true"></i>
<i class="ti ti-bell fs-3" aria-hidden="true"></i>
<span class="sl-status sl-status--success"><i class="ti ti-circle-check" aria-hidden="true"></i>Paid</span>
<button class="sl-icon-btn" type="button" aria-label="Search"><i class="ti ti-search" aria-hidden="true"></i></button> Used in Selaras
No components match “”
Try a broader word such as “form”, “table” or “button”.