<a href="#">Default link</a>
<a class="has-text-weight-semibold" href="#">Semibold</a>
<span class="has-text-grey">Grey text</span>
<span class="has-text-grey-light">Grey-light text</span>
Body text (14px). The quick brown fox jumps over the lazy dog.
is-size-7 — Small meta text.
Semibold text
Bold text
Grey text
Centered text
<h1 class="title is-4">Page heading</h1>
<h2 class="title is-5">Section heading</h2>
<h3 class="subtitle is-5">Subtitle</h3>
<h4 class="title is-6">Small heading</h4>
<p>Body text (14px).</p>
<p class="is-size-7">Small meta text.</p>
<p class="has-text-weight-semibold">Semibold</p>
<p class="has-text-weight-bold">Bold</p>
<p class="has-text-grey">Grey text</p>
<p class="has-text-centered">Centered text</p>
Optional help text explaining this field.
<div class="field">
<label class="label">Name <span class="has-text-danger">*</span></label>
<div class="control">
<input class="input" type="text" placeholder="Enter name">
</div>
<p class="help">Optional help text.</p>
</div>
<div class="control has-icons-left">
<input class="input" type="text" placeholder="Search...">
<span class="icon is-small is-left">🔍</span>
</div>
<div class="field">
<label class="label">Description</label>
<div class="control">
<textarea class="textarea" rows="3" placeholder="..."></textarea>
</div>
</div>
<!-- Full-width -->
<div class="select is-fullwidth">
<select>...</select>
</div>
<!-- Small inline -->
<div class="select is-small">
<select name="status" onchange="this.form.submit()">...</select>
</div>
This is help text — use it to explain what a field expects.
<label class="label">Field name</label>
<label class="label">Required <span class="has-text-danger">*</span></label>
<p class="help">This is help text.</p>
<label class="bili-toggle">
<input type="checkbox" class="bili-toggle__input" checked>
<span class="bili-toggle__track">
<span class="bili-toggle__knob"></span>
</span>
</label>
<div class="notification is-danger is-light">
<button class="delete" onclick="this.parentElement.remove()"></button>
<ul>
{% for e in errors %}<li>{{ e }}</li>{% endfor %}
</ul>
</div>
This is a .box container — a card with 22px radius, semi-transparent white fill, a hairline border and an inset shine. The blur lives on the page frame behind it, not on the card.
All content cards in Bili use this pattern.
<div class="box">
Content goes here.
</div>
Confirm Action
Are you sure you want to proceed?
<div class="modal is-active">
<div class="modal-background"></div>
<div class="modal-card" style="max-width:400px;">
<header class="modal-card-head">
<p class="modal-card-title">Title</p>
<button class="delete"></button>
</header>
<section class="modal-card-body">...</section>
<footer class="modal-card-foot" style="justify-content:flex-end;">
<button class="button is-light">Cancel</button>
<button class="button is-primary">Confirm</button>
</footer>
</div>
</div>
<body class="auth-page">
<main class="auth-card">…</main>
</body>
Served standalone on the auth host. The frame keeps the blur; the fields inside it do not.
<div class="notification is-success is-light">
<button class="delete" onclick="this.parentElement.remove()"></button>
Success message.
</div>
<!-- Variants: is-success, is-warning, is-danger, is-info -->
<!-- Always add is-light for glass treatment -->
| Name | Status | Action |
|---|---|---|
| Organisation Alpha | Active | |
| Organisation Beta | Review | |
| Organisation Gamma | Failed | |
| No more items. | ||
<div class="box">
<table class="table is-fullwidth is-striped is-hoverable">
<thead>
<tr><th>Name</th><th>Status</th><th></th></tr>
</thead>
<tbody>
<tr>
<td>
<a class="has-text-weight-semibold" href="#">Item</a>
</td>
<td><span class="tag is-success is-small">Active</span></td>
<td><button class="button is-small is-light">View</button></td>
</tr>
{% else %}
<tr>
<td colspan="3" class="has-text-centered has-text-grey">
No items found.
</td>
</tr>
</tbody>
</table>
</div>
<nav class="pagination is-small" aria-label="pagination">
<a class="pagination-previous">Previous</a>
<a class="pagination-next">Next</a>
<p class="pagination-info">Page 1 of 5 — 42 total</p>
</nav>
<!-- Use the shared partial: -->
{% with base_url="/path", query_params={"q": q} if q else {} %}
{% include "partials/_pagination.html" %}
{% endwith %}
<div class="bili-page-bar">
<h1 class="bili-page-title">Content</h1>
<!-- the section's Content tabs -->
<div class="bili-page-bar__actions">…</div>
</div>
<div class="dt-card">
<div class="dt-card__head">
<span class="dt-card__title">Section Title</span>
</div>
<div class="dt-card__body">Content</div>
</div>
<div class="dt-chip dt-chip--medium">
<span class="dt-chip__label">Company Name</span>
<span class="dt-chip__value">Acme Ltd</span>
<div class="dt-chip__ring"
style="--pct: 85; --clr: var(--bili-green-cta);"></div>
</div>
<!-- Confidence: high=green, medium=gold, low=red -->
<!-- --pct is 0-100 percentage -->
📄
Drop files here or click to browse
PDF, DOCX, XLSX, PPTX (max 10MB each)
<div class="dt-upload-zone">
<div class="dt-upload-zone__prompt">
<p class="dt-upload-zone__icon">📄</p>
<p class="dt-upload-zone__heading">Drop files here</p>
<p class="dt-upload-zone__hint">PDF, DOCX, XLSX, PPTX (max 10MB)</p>
</div>
<input type="file" multiple class="dt-upload-zone__input">
</div>
<span class="bo-state bo-state--ok"><i></i>Running</span>
<!-- or via the macro: {{ state(instance.state) }} -->
<button class="bo-btn bo-btn--primary">Instantiate</button>
<div class="bo-seg" role="group"><a class="is-active">Cards</a><a>Details</a></div>
<a class="bo-chip">Download</a>
<div class="bo-sec">
<div class="bo-sec__head"><h3>Location</h3></div>
<div class="bo-sub bo-group">
<div class="bo-cap">Identity</div>
<dl class="bo-dl"><dt>Region</dt><dd>local</dd></dl>
</div>
</div>
| File | Size | |
|---|---|---|
| 2026-09-27T17:07-abc.tar.zst | 20.2 KB | Wake source |
<div class="bo-sub bo-scroll"><table class="bo-table">…</table></div>
Hibernating an instance exports a database dump you can download or wake from.
{{ empty('No archives yet', 'Hibernating an instance exports a database dump…') }}
<main class="bh-page" data-motion="bounce" data-tone="busy">…<svg class="bh-logo">…</svg>…</main>
<!-- full page: frontend/templates/routing/holding.html -->
<section class="profile-hero">…</section>
<div class="bili-org-grid profile-orgs">…</div>
<div class="box profile-security"><div class="auth-pk">…</div></div>
<!-- full page: frontend/templates/profile/index.html -->
Bili Design System — Component Gallery