Media and icons
Spot
an icon at illustration scale (≥64px) · EmptyState, SuccessScreen and PermissionPrimer all use it
function SpotDemo() { return ( <View className="w-full gap-4"> <View className="flex-row flex-wrap items-center gap-4"> <Spot icon={BellIcon} size="md" /> <Spot icon={LockIcon} size="md" shape="square" /> <Spot icon={ShieldCheckIcon} size="md" tone="success" /> <Spot icon={UserIcon} size="md" tone="info" /> </View> <View className="flex-row flex-wrap items-center gap-4"> <Spot icon={BellIcon} size="lg" tone="warning" /> <Spot icon={ShieldCheckIcon} size="md" tone="primary" ring /> </View> </View> );}Usage
The whole illustration vocabulary: an icon at display scale. EmptyState, SuccessScreen and PermissionPrimer all render one. For a row’s leading slot use IconCircle — the boundary is 44px.
API
<Spot icon size="md|lg|xl" tone? shape="circle|square" ring? />Get it
Already in every copy of the native kit:
import { Spot } from '@/components/kit/spot';Details
- Exports
Spot- Packages
- lucide-react-native@^1.21.0
- Installs with
- @halftone-native/icon, @halftone-native/lib-utils
- Also searched as
- illustration, icon well, hero icon, empty state art
- Registry JSON
- /r/native/spot.json
<Row> <Spot icon={BellIcon} size="md" /> <Spot icon={LockIcon} tone="primary" /> <Spot icon={CheckIcon} tone="success" size="xl" ring /> <Spot icon={ShieldIcon} tone="info" shape="square" /></Row>Usage
The whole illustration vocabulary: an icon at display scale. For a row’s leading slot use IconCircle; the boundary is 44px.
API
<Spot icon size="md|lg|xl" tone? shape="circle|square" ring? />Get it
Already in every copy of the web kit:
import { Spot } from '@/components/kit/spot';Details
- Exports
Spot- Packages
- cn@^0.5.2, lucide-react@^1.52.0
- Also searched as
- illustration, icon well, hero icon, empty state art
- Registry JSON
- /r/web/spot.json
Agents: the whole registry is at /llms.txt.