Jump to a component

Components

Every component below is a live example. Hover the code samples for the copy button. Syntax highlighting is automatic via highlight.js.

Buttons

Link

$

Markup

				

Tabs

Overview

This is the overview panel. Tabs are fully accessible and work without JavaScript too.

Markup

				

Cards

Basic card

A plain card with title, content and a footer.

Cards work with any semantic content.

Hover card

Add .hover for a lift + shadow on hover.

Hover over this card to see it move.

Colored card

Role classes repaint cards, and the text stays readable in both themes.

Markup


					

Login to your account

Enter your email below to log in.

Scheduled reports

Weekly snapshots. No manual exports.

  • Choose a schedule: daily or weekly.
  • Send to channels or specific teammates.
  • Include charts, tables and key metrics.
Login & compact


					
Event cover

Design systems meetup

A practical talk on component APIs, accessibility and shipping faster.

Featured

Custom spacing

Set --card-spacing on any card to control every inset and gap.

This card uses 2.4rem spacing instead of the 1.6rem default.

Image & spacing

				

Dialogs

Are you absolutely sure?

This action cannot be undone. It will permanently delete your account from our servers.

Delete chat?

This will permanently delete this conversation and any memories saved during it.

Native <dialog>: focus-trapped, Esc and backdrop click close unless the dialog is marked data-dialog-static. Use dialog-sm for compact confirmations.

Markup

				

Sheets & Drawers

Sheets slide in from any edge via data-side. A drawer adds a .sheet-handle and data-sheet-snaps — drag the handle (or Arrow keys on it) to snap between heights. Native <dialog> gives focus trapping, Esc, and nested stacking.

Right sheet

Sheets are native dialogs that slide in from any edge. Good for mobile navigation or a detail view.

Left sheet

Slides in from the left edge.

Bottom sheet

Slides up from the bottom, the way mobile apps do it.

Pick a delivery time

We'll prepare your order as soon as possible.

25–35 min · Driver assigned now

Prep starts at 4:45 PM

Good if you're heading home

Most popular · High demand

Drawer

Open another drawer from the same side. The parent stays mounted behind it.

Native <dialog> stacking handles nesting for free — closing the frontmost returns focus to the drawer behind.

Nested drawer

This is the frontmost drawer in the stack.

Close it to reveal the drawer behind.

Snap points

Drag the handle to snap between a compact peek and a near full-height view. Arrow keys cycle the points.

Snap values are space-separated: data-sheet-snaps="25rem 1". Fractions (0–1) size against the viewport, numbers above 1 are pixels, and rem strings use the root font size.

Markup

					
Drawer: delivery time

					
Nested drawers

					
Snap points

				

Popovers

Markup

				

Toasts

Toasts stack in the bottom-right corner and dismiss themselves after 4 seconds.

Programmatic API

				

Tooltips

Pure CSS, no JavaScript required. Tooltips also appear on keyboard focus.

Markup

				

Accordions

What are your shipping options?

Standard (5-7 days), express (2-3 days) and overnight shipping. Free shipping on orders over $50.

What is your return policy?

Returns are accepted within 30 days. Items must be unused and in original packaging.

Premium feature information

This section is locked. Upgrade your plan to access this content.

Notification settings

Manage how you receive notifications. Enable email alerts for updates or push notifications for mobile devices.

Privacy & security

Control your privacy settings, enable two-factor authentication, and review active sessions.

Standalone items

Outside a group, details.accordion renders as flat, borderless items.

No container border

Stack them with the .stack utility for a consistent gap.

Exclusive by default. Add data-accordion-multiple to a group to allow several open, mark an item data-disabled to lock it, or skip the group for standalone items.

Markup

				

Forms

Compose fields with a label, a control, and optional helper text. A .field stacks vertically by default; add is-horizontal to align the label beside the control.

We never share your email with anyone.

Markup

					
Payment Method

All transactions are secure and encrypted.

Enter your 16-digit card number.

Or pay with
Billing Address

The billing address associated with your payment method.

Field composition

					

Choose another username.

Validation & errors

					

Fields with is-responsive stack in narrow containers and switch to a side-by-side row once their group clears ~40rem.

Profile

Fill in your profile information.

Provide your full name for identification.

Responsive fields

				

Controls

70%

60%

Markup

					

Pair a checkbox with a field wrapper for a label, helper text, and invalid or disabled states.

By clicking this checkbox, you agree to the terms and conditions.

You must accept the terms to continue.

Checkboxes with fields

					
Show these items on the desktop

Select the items you want to show on the desktop.

Checkbox group

				

Toggle buttons

Markup

				

Alerts

Note

A neutral informational alert.

Success

Everything went as planned.

Warning

Please double-check the details.

Error

Something went wrong.

Dark mode is now available

Enable it under your profile settings to get started.

Custom colors

Override --alert-bg, --alert-fg and --alert-border for any scheme; color-mix() keeps it theme-aware.

Markup

				

Badges & Avatars

Default Primary Secondary Success Warning Destructive Outline Ghost Link ↗ Live

Verified Bookmark Deleting Generating Custom

S A L gabriel-aplokGA G P

gabriel-aplokGA a6xdevA6 lima6xcnLI +3

Markup

				

Chat bubbles & attachments

How can I help you today?
Hey! I uploaded the new design files. Can you review them?
Also, the build failed on main. It was working yesterday.
Seen · 4:32 PM
On it. I found the issue: a stale route was still registered. Fixed it, and I reviewed the designs too.
Here is the build output:
build-report.txt
Text · 4 KB
Bubbles


					
Muted: quiet supporting content.
Tinted: a soft primary-derived fill.
Outline: bordered, for rich content.
Destructive: errors and failed actions.
Variants


					
Workspace screenshot
workspace.png
PNG · 820 KB
Desk photo
desk-reference.jpg
JPG · 1.1 MB
Office photo
office-reference.jpg
JPG · 940 KB
customers.csv
CSV · 18 KB
Attachments


					
design-system.zip
Uploading · 64%
financial-model.xlsx
Upload failed. Try again.
Small attachment
PDF · 2.4 MB
Extra small attachment
States & sizes

				

Tags

html css small large

Markup

				

Pagination

Markup

				

Tables

Framework Type Size
LOTUS.css Classless ~52 kB
Bootstrap Component ~190 kB
Tailwind Utility varies
Plan Price
Starter Free
Pro $12/mo
Team $40/mo
Markup

					

Row selection: the header checkbox drives the row checkboxes, and selected rows gain data-state="selected".

Name Email Role
Sarah Chen sarah.chen@example.com Admin
Marcus Rodriguez marcus.rodriguez@example.com User
Priya Patel priya.patel@example.com User
Selectable table

				

Spinners & Skeletons

Markup

				

Separators


Labeled separator
Left
Right
Markup

				

Scroll areas

The scroll area reuses the themed thin scrollbar.

Scroll down to see more content…

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Ut enim ad minim veniam, quis nostrud exercitation ullamco.

Duis aute irure dolor in reprehenderit in voluptate velit esse.

Cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat.

Cupidatat non proident, sunt in culpa qui officia deserunt mollit.

Anim id est laborum. Fin.

Markup

				

Code blocks

Every code block on this page gets a copy button (hover to reveal) and automatic syntax highlighting. Use data-no-copy to opt out.


				

Grid

col-6
col-6
col-4
col-4
col-4
col-3
col-9
Markup

				

Utilities

Small, composable helpers for layout, text, and visibility. Every rule is a single responsibility, so they combine freely.

.text-left: left-aligned

.text-center: centered

.text-right: right-aligned

.text-upper · .text-lower · .text-capital

.text-truncate: this long line gets clipped with an ellipsis instead of wrapping…

Text


					
.flex .items-center .justify-between
.full-width
.grow
.shrink-0
Layout


					
.primary .secondary .muted .accent .success .warning .destructive
.ring-color .border-color
Color roles


					
.hide-print .hide-xs (≤599px) .no-deco · .pointer-cursor

.stack: a consistent 1.6rem gap between stacked components: override with --stack-gap

Stack & visibility