Data display
Value header
hero figure + caption · maskable adds the eye toggle
function ValueHeaderDemo() { return ( <View className="w-full gap-6"> <ValueHeader value="$4,182.00" caption="+$60.00 all time" captionTone="positive" maskable /> <ValueHeader label="Available to trade" value="$60.00" caption="$20.00 not available" /> </View> );}Usage
The hero figure at the top of a screen. maskable adds the eye toggle for anything someone might not want visible over their shoulder.
API
<ValueHeader value label? caption? captionTone? maskable? align? />Get it
Already in every copy of the native kit:
import { ValueHeader } from '@/components/kit/value-header';Details
- Exports
ValueHeader- Packages
- lucide-react-native@^1.21.0
- Installs with
- @halftone-native/icon, @halftone-native/lib-haptics, @halftone-native/lib-utils, @halftone-native/text
- Also searched as
- balance, hero number, total, amount, mask, hide balance
- Registry JSON
- /r/native/value-header.json
<ValueHeader label="Available balance" value="£12,480.00" caption="+£1,840 this week" captionTone="positive" maskable />Usage
The hero figure at the top of a page. maskable adds the eye toggle for anything someone might not want visible over their shoulder.
API
<ValueHeader value label? caption? captionTone? maskable? align? />Get it
Already in every copy of the web kit:
import { ValueHeader } from '@/components/kit/value-header';Details
- Exports
ValueHeader- Packages
- cn@^0.5.2, lucide-react@^1.52.0
- Also searched as
- balance, hero number, big number
- Registry JSON
- /r/web/value-header.json
Agents: the whole registry is at /llms.txt.