Components

  1. Home
  2. Components
Get this kit

Buttons

Classes: btn, btn-primary, btn-danger, btn-ghost, btn-sm, btn-lg

Badges

Classes: badge with ok, warn, bad, info, brand. Add plain to hide the dot

NeutralCompletedPendingCancelledProcessingNew
TagBeta12

Alerts

Classes: alert with ok, warn, bad

Heads upA new version is ready to install.
SavedYour changes are live.
Storage almost fullYou have used 92 percent of your space.
Payment failedUpdate your card to keep your plan.

Form controls

Classes: field, input, select, textarea, check, switch

Enter a valid email address.

Tabs and segments

role="tablist" with tab buttons, or a seg group

Overview panel. Use the arrow keys to move between tabs.

Overlays

Modal, dropdown and toast, all switched on with data attributes

Avatars and progress

Initials avatars need no image files. Put an img inside to use a photo

Loading and empty states

Classes: skeleton, empty

Nothing here yetCreate your first item to see it in this list.

Stat cards

The stat helper with an icon, a trend and a sparkline

Revenue $84,250
12.5% vs last month
Users 3,842
8.3% vs last month
Orders 12,094
2.1% vs last month
Errors 128
3.2% vs last month

Colour tokens

CSS variables at the top of nexa.css. They change with the theme

brand
surface
surface-2
bg
line
ink
ink-2
ink-3
ok
warn
bad
info