Login History Table
A sign-in audit table with timestamp, method, device, location, IP, and a result badge, plus a failed-attempt callout and a CSV export action.
A sign-in audit table with timestamp, method, device, location, IP, and a result badge, plus a failed-attempt callout and a CSV export action.
The source for every Application block is included with Basic and Pro. Pick a plan to copy the code.
Already purchased? Log in
Login History Table is the sign-in audit for an account: a ruled table of recent authentication events, each with a timestamp, the method and its icon (passkey, password with 2FA, SSO), the device and browser, a coarse location with the IP, and a result badge. Success, Failed, and New device read distinctly, and a failed-attempt callout sits above the table beside a CSV export action.
Events are a typed const array; the result field drives the badge styling, and a derived failedCount decides whether the warning callout renders. The failed row from an unfamiliar location is deliberate, it is the pattern users need to recognize and act on.
Reach for this block on the account security page, wired to your auth log. Render the failed-attempt callout only when a recent failure exists, and point its copy at your password reset and session review flows.
A natural flow around it on an Application Pro page:
Before
After
One strong use is the personal sign-in audit. Other event tables:
Tip: keep locations labeled approximate, an IP based guess that reads as fact sends users chasing sign-ins that were their own.