Skip to content
Hazine

Overlays

1 of 33 shipped. Layered surfaces with correct focus trap, focus return and dismissal.

01 / Dialogs

0 of 6 shipped

Planned 6

  • Form dialog with inline validation
  • Scrollable dialog with sticky footer
  • Multi-step dialog
  • Split dialog with list and detail
  • Responsive dialog, full screen on mobile
  • Floating non-modal window

02 / Alert dialogs

1 of 4 shipped
  • alert dialogs

    Confirmation that lists every effect with its count, split into what is lost and what is kept, and holds the confirm button until an acknowledgement is ticked. Use it before deleting an account, workspace or dataset.

    How it differs. The body is a framed list of counted effects in a lost group and a quieter kept band, and the confirm button stays gated behind one acknowledgement checkbox that it points to when pressed early.

    shadcn add @hazine/alert-dialog-consequence-list

    Depends on alert-dialog, button, checkbox, label, @hazine/use-controllable-state, lucide-react

Planned 3

  • Alert dialog with safe default focus
  • Session timeout alert dialog
  • Discard changes alert dialog

03 / Sheets and drawers

0 of 6 shipped

Planned 6

  • Side detail sheet
  • Bottom drawer with snap points
  • Filter sheet with apply and reset
  • Edit sheet with dirty guard
  • Stacked sheets
  • Resizable non-modal inspector sheet

04 / Popovers

0 of 5 shipped

Planned 5

  • Multi-view popover
  • Filter popover
  • Link editor popover
  • Responsive popover, drawer on mobile
  • Quick-create popover

Planned 4

  • Shortcut tooltip
  • Profile hover card
  • Link preview hover card
  • Definition term toggletip

06 / Lightboxes and previews

0 of 4 shipped

Planned 4

  • Image lightbox with thumbnails
  • Document preview dialog
  • Zoom and pan viewer
  • Quick look preview

07 / Tours and coach marks

0 of 4 shipped

Planned 4

  • Anchored tour step popover
  • Spotlight tour overlay
  • Feature hint beacon
  • Dismissable tip card