DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.7K
Sign inGet All-Access
Categories
Dev Ops6
AI Ops9
CRM9
Agents10
Analytics9
Billing9
  • Invoice Ledger
  • Plan Catalog
  • Subscription Lifecycle
  • Billing Account Detail
  • Invoice Builder
  • Dunning Queue
  • Usage Event Ledger
  • Plan Change
  • Coupon Manager
Bookings3
Files1
Inventory11
Users7
Digital TwinNew Digital Twin category with 2 interactive 3D blocks2

For AI Agents

Hand your agent this brief or the ReUI MCP, not a screenshot. Installs with a ReUI Pro or Ultimate license.

Best for: Events flagged within or over allowance, an empty state for meters with no events, an event inspector and CSV, Excel or PDF export

When to use

  • A back office for billing operators: the invoice ledger, subscriptions, a dunning queue and metered usage
  • Plan and discount admin: editing the plan catalog and coupon rules, or moving a subscription to a new tier
  • One customer's billing account seen by staff, or an invoice built line by line and then sent

When not to use

  • A standalone outline of nested items with chevron toggles and no data grid beside it: use the Tree component
  • A folder rail beside list and grid views of stored documents: use the Drive Explorer block
  • A public page where visitors compare plan tiers and pick one before signing up: use the Pricing blocks
  • A signed in customer's own settings page showing their plan, usage and invoices: use the Profile blocks
  • A stepped intake flow with no money in it, such as vendor onboarding or team invites: use the Wizard blocks

Agent notes

  • Replace USAGE_METERS and USAGE_EVENTS in data.tsx and the fixed USAGE_PERIOD_LABEL that the export dialog shows
  • MeterTreeNav hardcodes its group nodes and ids such as BANDWIDTH_ID and GPU_MINUTES_ID, so another meter set needs the tree rebuilt
  • runFilter fakes a 400 ms wait before computeRows, and the export dialog only toasts, so no CSV, Excel or PDF file is made
  • Each block sets a min-h-svh wrapper with bg-background, padding and a max width in page.tsx or its root component; drop it inside an app shell
  • No block calls an API: sends, retries, saves and exports update useState or fire a sonner toast; post to your billing backend from those handlers

Third-party API docs

  • TanStack Table v9: API reference, docs
  • Headless Tree v1: API reference, docs
  • date-fns v4: docs
  • React DayPicker v9: API reference, docs
  • Sonner v2: API reference, docs
Markdownhttps://web.dev.reui.io/blocks/solutions/billing/solution-billing-7.md
MCPget_block("solution-billing-7")
Installnpx shadcn@latest add @reui/solution-billing-7
Full index for agents:llms.txtReUI MCP setup

Shadcn Components in the Usage Event Ledger Block

  • Avatar
  • BadgeReUI
  • Breadcrumb
  • Button
  • Calendar
  • Data GridReUI
  • Dialog
  • Dropdown Menu
  • Empty
  • Field
  • FiltersReUI
  • FrameReUI
  • Icon StackReUI
  • Item
  • Popover
  • Radio Group
  • Separator
  • Skeleton
  • Tooltip
  • TreeReUI

Dependencies

  • @headless-tree/core
  • @headless-tree/react
  • @tanstack/react-table
  • cn
  • date-fns
  • react-day-picker
  • sonner

Shadcn Usage Event Ledger Block

Metered usage event ledger with tree meter scope selection. Part of the ReUI Shadcn Solutions Billing blocks collection.

Audit metered events by meter and period with tree sidebar nav filtering, date picker, and export. ReUI DataGrid, Filters, Frame, Badge; shadcn Button, Calendar, Breadcrumb. Usage based billing, consumption tracking, subscription auditing.

It is composed from Avatar, Badge, Breadcrumb, Button, Calendar, Data Grid, Dialog, Dropdown Menu, and more, so every part of it is a primitive you can restyle with your own design tokens.

What You Can Build With the Usage Event Ledger Block

  • Install it with the ReUI registry command in the toolbar above, then swap the placeholder content, data wiring, and business logic for your own.
  • Compare it across all eight ReUI styles and both the Base UI and Radix bases in the customizer before committing to one direction.
  • Combine it with the other Shadcn Solutions Billing blocks to assemble a full screen instead of a single section.

All Shadcn Solutions Billing Blocks

The rest of this category, each on its own page with a live preview, the components it is built from, and the install command.

  • Invoice Ledger Billing operator workspace with invoice ledger and past due recovery
  • Plan Catalog Plan and pricing catalog editor with tiered plan tiles and status toggles
  • Subscription Lifecycle Subscription Management Workspace with Quick-Action Cards and Lifecycle Grid
  • Billing Account Detail Customer Billing Account Detail with Tabbed Invoices, Subscription, and Activity Rail
  • Invoice Builder Four-step invoice builder wizard with a live receipt-style review preview
  • Dunning Queue Expandable Dunning Queue for SaaS Failed Payment Recovery
  • Plan Change Subscription Plan Change Wizard with Live Proration Preview
  • Coupon Manager Coupon and promotion manager with inline redemption rule editor

Related Shadcn Solutions Block Categories

  • Dev Ops (6) Platform and SRE console pages for scheduled jobs, deployments, audit trails, edge firewall rules, SLOs and data connections.
  • AI Ops (9) AI startup control plane pages for model providers, prompts, token cost, routing, and quotas.
  • CRM (9) Sales CRM pages for founders, agencies, and startups managing leads and deals.
  • Agents (10) AI agent run operation, approval, tool permission, and evaluation pages.
  • Analytics (9) Product usage, activation, cohort, event, experiment, and growth reporting pages.
  • Bookings (3) Appointment and service-business admin pages for consultants, clinics, salons, and local services.

All Shadcn Block Groups

Browse the full ReUI Shadcn blocks library by product surface. Each group bundles category-level blocks you can mix and match across your project.

  • Shadcn Application Blocks (303) Browse 303 Shadcn Application blocks across 23 categories.
  • Shadcn Data Grid Blocks (47) Browse 47 Shadcn Data Grid blocks across 9 categories.
  • Shadcn Charts Blocks (52) Browse 52 Shadcn Charts blocks across 10 categories.
  • Shadcn Solutions Blocks (76) Browse 76 Shadcn Solutions blocks across 11 categories.
  • Shadcn AI & Agents Blocks (22) Browse 22 Shadcn AI & Agents blocks across 3 categories.
  • Shadcn eCommerce Blocks (87) Browse 87 Shadcn eCommerce blocks across 13 categories.
  • Shadcn Marketing Blocks (67) Browse 67 Shadcn Marketing blocks across 8 categories.

Frequently Asked Questions

When should I use the Usage Event Ledger block?

Use it for events flagged within or over allowance, an empty state for meters with no events, an event inspector and CSV, Excel or PDF export.

The Billing category fits:

  • A back office for billing operators: the invoice ledger, subscriptions, a dunning queue and metered usage
  • Plan and discount admin: editing the plan catalog and coupon rules, or moving a subscription to a new tier
  • One customer's billing account seen by staff, or an invoice built line by line and then sent

For a standalone outline of nested items with chevron toggles and no data grid beside it, use the Tree component. For a folder rail beside list and grid views of stored documents, use the Drive Explorer block. For a public page where visitors compare plan tiers and pick one before signing up, use the Pricing blocks. For a signed in customer's own settings page showing their plan, usage and invoices, use the Profile blocks. For a stepped intake flow with no money in it, such as vendor onboarding or team invites, use the Wizard blocks.

What is the Usage Event Ledger block built with?

Usage Event Ledger uses Avatar, Badge, Breadcrumb, Button, Calendar, Data Grid, Dialog, Dropdown Menu, Empty, Field, Filters, Frame, Icon Stack, Item, Popover, Radio Group, Separator, Skeleton, Tooltip, Tree. Installing the block through the ReUI registry pulls those dependencies in for you.

Can I restyle the Usage Event Ledger block?

Yes. It reads your design tokens, so switching style, radius, base color, font, or icon library in the customizer restyles it without touching the markup.

How should I use Shadcn billing blocks in a real project?

Treat them as structured starting points. Keep the layout, hierarchy, and interaction ideas that work, then replace placeholder content, data wiring, and business logic with your own product requirements.
PreviousDunning QueueNextPlan Change

Start building with ReUI Pro today.

Every Pro block, every style, and every future addition, with one license for unlimited projects.

Get All-Access

From $249, once. Lifetime updates.

Application

  • App Shell
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats2 meter cards moved here from Charts, 17 in all
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedAdded 2 new Data Grid Advanced blocks, 5 in all
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area ChartAdded a new Inbound Leads area chart block
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sankey ChartNew Sankey Chart category with 3 flow chart blocks
  • Slope ChartNew Slope Chart category with 2 rank-shift chart blocks
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity
  • AI UsageNew AI Usage category with 2 spend blocks

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Users
  • Digital TwinNew Digital Twin category with 2 interactive 3D blocks

Templates

  • All templates

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist
  • Shop Hero

Marketing

  • Blog
  • Compare
  • Contact
  • CTA
  • FAQ
  • Hero
  • How It Works
  • Pricing

Resources

  • Components
  • Blocks
  • Icons
  • MCP for Agents
  • Docs
  • Support
  • Pricing
  • Tailwind Plus Alternative
  • Roadmap(has updates coming soon)
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3.7K
  1. Blocks
  2. Solutions
  3. Billing
  4. Usage Event Ledger
MarkdownShare

Shadcn Usage Event Ledger

Audit metered events by meter and period with tree sidebar nav filtering, date picker, and export. ReUI DataGrid, Filters, Frame, Badge; shadcn Button, Calendar, Breadcrumb. Usage based billing, consumption tracking, subscription auditing.