Search documentation

Search guides, examples, and component APIs.

Quick links
↑↓ NavigateEnter OpenEsc Close
Get started

Blocks / Data display

Audit log

A ten-thousand-row event log that stays fast with a virtual list, beside a scrollable details panel.

bunx --bun @getweini/cli@latest add badge button empty-state scroll-area skeleton toggle-group virtual-list
Customize
  • Pass your events through `events`. The default builds 10,000 deterministic rows so you can feel the scrolling; only the rows in view are in the DOM, which keeps filtering and scrolling instant.
  • Rows have a fixed 56px height (`item-size`). If your rows wrap, switch VirtualList to `dynamic` and drop the fixed `h-14` on the row button.
  • The list is a labelled, focusable group so the keyboard can scroll it; each row is a real button with `aria-pressed`. Changing the severity filter returns to the newest event and Jump to oldest uses `scrollToIndex`.
  • The details panel is a ScrollArea around a native scrolling viewport with its own accessible name, so a long payload scrolls inside the card without a custom scrollbar.
  • Below 1024px the panels stack. Time is rendered in UTC with `locale` so the example reads the same everywhere; pass a different time zone in the formatter for local time.