Measured entry

hextaui-billing-usage-alerts

pricingminimal-flat

A client-side React and TypeScript card for listing billing usage alerts, including empty, active, disabled, loading, edit, and delete states. It ships as a shadcn registry block and expects Lucide icons, a cn helper, Tailwind theme classes, and local Badge, Button, Card, Separator, and Switch primitives backed in part by Radix.

Specimen
Harness screenshot of hextaui-billing-usage-alerts at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-billing-usage-alerts at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-billing-usage-alerts at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for hextaui-billing-usage-alerts
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal38.0 KB (103.4 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 1m 42s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/blocks/billing/billing-usage-alerts.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A practical, well-scoped settings block with clean responsive behavior and callback-driven integration. It mounts cleanly in the prepared harness, but the bare package does not: it needs a shadcn-style setup with the expected utility helper, aliases, themed styles, and UI primitives.

Use it if

  • You need a responsive account settings panel for usage thresholds and notification channels.
  • Your application already owns alert data and can supply async toggle and delete callbacks plus edit and create flows.
  • Your design system already follows shadcn conventions and exposes matching card, button, badge, separator, and switch primitives.

Skip it if

  • You need alert creation or editing forms included, since this block only calls handlers for those actions.
  • You want a self-contained data layer with persistence, validation, or API integration.
  • Your project does not use Tailwind theme tokens or shadcn-style import aliases and you do not want to adapt the source.
  • You need notification channel artwork that avoids platform-dependent emoji rendering.

Install

Installation record for hextaui-billing-usage-alerts
Declared dependencies@radix-ui/react-slot, @radix-ui/react-separator, @radix-ui/react-switch
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, add React and Lucide, the required Radix primitives, equivalent badge, button, card, separator, and switch components, a class-name merge helper, the source import aliases, and Tailwind-compatible theme tokens and utilities. Then connect the supplied action callbacks to your own forms and persistence layer.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

License
MIT
Record published
2026-08-14

Alternatives

Other published entries for the pricing pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.