Basic card
A plain card with title, content and a footer.
Cards work with any semantic content.
Every component below is a live example. Hover the code samples for the copy button. Syntax highlighting is automatic via highlight.js.
This is the overview panel. Tabs are fully accessible and work without JavaScript too.
Every panel gets aria-selected state on its tab button automatically.
Switch tabs and watch the .active state move.
A plain card with title, content and a footer.
Cards work with any semantic content.
Add .hover for a lift + shadow on hover.
Hover over this card to see it move.
Role classes repaint cards, and the text stays readable in both themes.
Weekly snapshots. No manual exports.
A practical talk on component APIs, accessibility and shipping faster.
Set --card-spacing on any card to control every
inset and gap.
This card uses 2.4rem spacing instead of the 1.6rem default.
Native <dialog>:
focus-trapped, Esc and
backdrop click close unless the dialog is marked data-dialog-static.
Use dialog-sm for compact confirmations.
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.
Positioned next to its trigger, flipping when near the viewport edge. Click outside or press Esc to close.
Popovers are lightweight: one data attribute and an id.
Toasts stack in the bottom-right corner and dismiss themselves after 4 seconds.
Pure CSS, no JavaScript required. Tooltips also appear on keyboard focus.
Standard (5-7 days), express (2-3 days) and overnight shipping. Free shipping on orders over $50.
Returns are accepted within 30 days. Items must be unused and in original packaging.
This section is locked. Upgrade your plan to access this content.
Manage how you receive notifications. Enable email alerts for updates or push notifications for mobile devices.
Control your privacy settings, enable two-factor authentication, and review active sessions.
Outside a group, details.accordion renders as flat, borderless items.
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.
A scroll-snap track with prev/next buttons. Native scrolling keeps it smooth on touch; the buttons scroll by ~80% of the viewport per press.
Scroll-snap aware.
Drag to scroll or use the arrows.
Keyboard focusable too.
Native scrolling = smooth on mobile.
Just HTML + a couple of data attributes.
basis-1_2
basis-1_2
basis-1_2
basis-1_3
basis-1_3
basis-1_3
spacing-lg
spacing-lg
spacing-lg
Scrolls up and down.
Buttons flip to top & bottom.
Snap-aligned like the rest.
Just add .is-vertical.
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.
Choose another username.
Fields with is-responsive stack in narrow containers and switch to a side-by-side row once their group clears ~40rem.
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.
Menu ▾
Click outside a dropdown to close it.
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.
Default Primary Secondary Success Warning Destructive Outline Ghost Link ↗ Live
Verified Bookmark Deleting Generating Custom
S
A
L
GA
G
P
GA
A6
LI
+3
| 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 |
Row selection: the header checkbox drives the row checkboxes, and selected rows gain data-state="selected".
| Name | Role | ||
|---|---|---|---|
| Sarah Chen | sarah.chen@example.com | Admin | |
| Marcus Rodriguez | marcus.rodriguez@example.com | User | |
| Priya Patel | priya.patel@example.com | User |
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.
Every code block on this page gets a copy button (hover to reveal) and
automatic syntax highlighting. Use data-no-copy to opt out.
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…
.stack: a consistent 1.6rem gap between stacked components: override with --stack-gap