UI Interface · Components

Feedback and overlays

Alerts, toasts, modals, drawers, popovers, empty states, loaders and error pages. Toasts, modals and drawers below are fully working, with focus trapping, Esc and backdrop dismiss.

Inline alerts

Contextual messages inside a page. Colour comes from data-tone; always pair the tone with an icon and a title so meaning never depends on colour alone. Use role="alert" only for urgent errors.

fb-alertfb-alert--outlinefb-alert--bardata-tonefb-actionsfb-x

Payment received

Invoice #4021 for $2,400.00 was paid by Northwind Labs.

New version available

Release 4.2 adds bulk editing and saved views.

API usage at 85%

You have used 8.5M of 10M requests this month.

Tip of the day

Press Ctrl+K anywhere to open the command palette.

Scheduled report

Your weekly summary will be emailed on Monday at 08:00.

Outline and accent-bar styles

Outline

Surface background with a solid tone border.

Accent bar

A thick start border; calmer on dense pages.

With actions and dismissible

Backup completed

All 1,420 records were backed up in 38 seconds.

Banners

A single-line, page-level strip for announcements and system status. Centered content, optional link and dismiss. Place at the top of the content area, one at a time.

fb-bannerdata-tonedata-dismiss
Release 4.2 is live. Bulk edit, saved views and a faster command palette.What is new
Degraded performance. Exports are running slower than usual. We are investigating.Status page
Your trial ends tomorrow. Add a payment method to keep your projects.
You are all set! Your workspace has been migrated successfully.

Toasts

Transient confirmations stacked at the bottom-right. Click the buttons: each toast auto-dismisses after 5 seconds (pauses on hover), has a close button and lives in an aria-live="polite" region. Add data-toast plus data-tone, data-title, data-msg to any button.

fb-toastfb-toastsdata-toastdata-tonedata-titledata-msgdata-action

Static anatomy

Changes saved

Your profile was updated successfully.

Modals

Dialogs with role="dialog" and aria-modal. Opening moves focus inside and traps Tab; Esc or a backdrop click closes and returns focus to the trigger. Triggers use data-open="#id", closers use data-close.

fb-overlayfb-modalfb-modal--sm|lg|xlfb-m-headfb-m-bodyfb-m-footdata-opendata-close

Types

Sizes

Drawers and offcanvas

Edge-anchored panels for secondary tasks such as filters and details. Same engine as modals (focus trap, Esc, backdrop). Use fb-overlay--right or fb-overlay--left; the panel is full height and 400px wide.

fb-overlay--rightfb-overlay--leftfb-drawer

Popovers

Small floating panels anchored to a trigger. Click toggles, outside click or Esc dismisses. Add is-top or is-end to the panel to change placement. The trigger carries aria-expanded.

fb-popfb-pop-panelis-topis-enddata-pop
Delete this comment?

This cannot be undone.

Empty states

Say what is missing, why, and offer one next step. Use a calm icon tile; reserve the danger tone for real failures.

fb-artdata-tonesx-btn--primary

Inbox zero

You have read every message. New ones will show up here.

No matching results

Try a different keyword or remove a filter.

Could not load data

The request timed out. Check your connection and retry.

Welcome! Three steps to get started

Create your workspace
2Invite your first teammate
3Connect a data source

Loading states

Pick the lightest indicator that fits: a spinner for short waits, skeletons for layout-shaped content, progress bars when the amount is known. Mark busy regions with aria-busy="true".

fb-spinfb-dotsfb-skelfb-indetsx-baris-loading

Spinners and buttons

Click a button to see the 1.6 second loading state.

Progress

Uploading report-q4.pdf64%
Storage92%
Import complete100%
Indeterminate

Skeleton placeholder

Error and status pages

Full-area blocks for 404, 500, 403 and offline conditions. Explain in plain words, never blame the user, and give a way out.

fb-codesx-gradient-textfb-art
404

Page not found

The page you are looking for moved, was deleted or never existed.

Back to dashboard
500

Something went wrong on our side

Our team has been notified. Error reference 9F2A-71C4.

403 · Access restricted

You need Admin permission to view billing settings.

You are offline

Changes are saved locally and will sync when you reconnect.

Scheduled maintenance

Greenovinity will be read-only from 02:00 to 02:30 UTC while we upgrade the database.

Subscribe to updates

Confirmation patterns

Match friction to risk. Reversible actions get an undo toast, small destructive actions an inline confirm, and irreversible ones a type-to-confirm dialog.

data-swapdata-row-deldata-confirm-inputfb-danger

Undo (low risk)

Act immediately, offer to revert.

  • brand-guidelines.pdf
  • pipeline-nov.xlsx
  • board-update.pptx

Inline confirm (medium)

The button swaps in place.

Type to confirm (high)

Irreversible, so require intent.

Banners with countdown

Live timers for promotions, maintenance windows and auto-redirects. Add data-countdown="seconds" to any element; it ticks every second and shows hh:mm:ss, or mm:ss under an hour.

data-countdowndata-cd-stopfb-cdfb-cdbox

Black Friday · ends soon

40% off all annual plans

Use code FRIDAY40 at checkout.

02Days
03Hrs
05Min
00Sec
Claim offer
Maintenance starts in 42:14. Please save your work.
Your session expires in 01:00.

Usage and accessibility

Right tool for the job. Toast for confirmations, alert for page context, modal only when the user must decide, drawer for side tasks.
Focus management. Dialogs need a label, trapped Tab, Esc to close and focus restored to the trigger. Toasts must not steal focus.
Timing. Keep toasts 5 seconds or longer, pause on hover, and never auto-dismiss errors that need a decision.
Dark mode. Tones use --tone-bg and --tone-fg, which the kit retunes for dark surfaces automatically.

Hi, I’m Nova! Need a hand?