shadcn.io is not affiliated with official shadcn/ui
Error Logs Carousel Block for React Aria
Six error groups of an error tracker, one per slide, each with its severity, a mono stack in left-to-right order, a fourteen-day strip and a Resolve button that re-derives the open and resolved counts.
Installation
Overview
Triage one error group at a time, with this error logs carousel for React with React Aria. Snagboard, an error tracker, shows six groups on a one-up track. A band of three counts (open groups, open events, resolved) sits above it. Each slide has the severity as a word with a dot weight, the service, the error in mono, a five-frame stack in dir="ltr" with the app's own frame in bold, the events, users and dates, and fourteen bars of daily counts in foreground weights. Resolve is the one primary on the group in view; it marks the group resolved in place and the three counts above re-derive, and Reopen puts it back. Events are the sum of the daily counts, so nothing is typed twice. It uses Badge, Button and Guides. The product and its errors are made up.
FAQ
How do I use my own groups?
Edit GROUPS: a type, a message, a service, a level, users, the first and last ISO dates, five frames and fourteen daily counts. Events and the strip come from daily.
How does it work with a keyboard?
Tab reaches the controls in the open slide, the dots, Previous and Next. With focus inside the track, the arrow keys move between slides (mirrored in a right-to-left layout) and Home and End jump to the first and last. Previous and Next stay in the tab order at the ends and are marked unavailable instead of disabled. Slides out of view are hidden from the tab order and from screen readers.
What is announced when I resolve a group?
The foot, the one polite live region, reads for example "Resolved TypeError, 5 open".