PatternsSpend bar
SpendBar API
Every prop of SpendBar, generated from the package manifest.
import { SpendBar } from '@oceanic-hub/brand-system'- Layer
- patterns — Generic composites — the shared shell and the shared status vocabulary that make every product inherit the look. The reason this package exists.
- Exports
- SpendBartypes: SpendBarProps
- Variants
- capState: near | over | under
- Contract
- packages/brand-system/src/components/spend-bar.contract.test-d.ts
- Demos
- 4 on the SpendBar page — rendered live, hydrated
- Source
- packages/brand-system/src/components/spend-bar.tsx
Generated from manifest/component-manifest.json, so it cannot drift from the source. For what SpendBar is for, how it composes and what it looks like, see SpendBar.
SpendBar
SpendBarProps
Prop
Type
Also accepts everything from React.HTMLAttributes<HTMLDivElement>.