Usage limits preview
Plan consumption, reset dates and allowances with exact values and clear limit states.
pro · Blocks · composite
When to use
- Use it when a page needs plan consumption, reset dates and allowances with exact values and clear limit states.
- Choose it inside an authenticated product surface when the host application owns routing, persistence, and service calls.
Alternatives
- Choose empty-state instead when empty collections, search results and errors with a clear next action is the actual interface need, rather than usage limits.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/usage-limitsImport components/ui/tidal.css, components/ui/usage-limits.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/usage-limits.css";
import{TidalUsageLimits}from"./components/ui/usage-limits";
export default()=><div className="tidal-scope"><TidalUsageLimits metrics={[{id:"example",label:"Demo",kind:"metered",value:1,limit:1,valueText:"Demo",limitText:"Demo"}]} title={"Demo"}/></div>;API and props
TidalUsageLimits.metrics (required)ReadonlyArray<TidalUsageMetric>Required metrics value accepted by this exported component.
TidalUsageLimits.title (required)ReactNodeRequired title value accepted by this exported component.
TidalUsageLimits.actionReactNodeOptional action value accepted by this exported component.
TidalUsageLimits.descriptionReactNodeOptional description value accepted by this exported component.
TidalUsageLimits.emptyMessageReactNodeOptional empty message value accepted by this exported component.
TidalUsageLimits.headingLevel"h2" | "h3" | "h4" | "h5" | "h6" | undefinedOptional heading level value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.