Data display
Icon circle
leading icon well, row scale (≤44px) · shape circle/square · tone
function IconCircleDemo() { return ( <View className="gap-4"> <View className="flex-row items-end gap-4"> {[32, 40, 48, 56, 64].map((s) => ( <View key={s} className="items-center gap-1"> <IconCircle as={WalletIcon} size={s} /> <Text className="text-muted-foreground text-xs">{s}</Text> </View> ))} </View> <View className="flex-row items-center gap-4"> <IconCircle as={WalletIcon} size={48} /> <IconCircle as={WalletIcon} size={48} tone="primary" /> <IconCircle as={ShoppingCartIcon} size={48} tone="success" /> <IconCircle as={ShoppingCartIcon} size={48} tone="warning" /> <IconCircle as={ShoppingCartIcon} size={48} tone="destructive" /> </View> <View className="flex-row items-center gap-4"> <IconCircle as={LockIcon} size={48} shape="square" /> <IconCircle as={ScanFaceIcon} size={48} shape="square" tone="primary" /> <IconCircle as={WalletIcon} size={48} shape="square" tone="info" /> </View> </View> );}Usage
Row scale only — 32–64px. square is the rounded-square well. At illustration scale (64px and up) use Spot instead.
API
<IconCircle as size? shape="circle|square" tone? />Get it
Already in every copy of the native kit:
import { IconCircle } from '@/components/kit/icon-circle';Details
- Exports
IconCircle- Packages
- lucide-react-native@^1.21.0
- Installs with
- @halftone-native/icon, @halftone-native/lib-utils
- Also searched as
- icon well, avatar icon, leading icon
- Registry JSON
- /r/native/icon-circle.json
<div className="flex items-center gap-3"> <IconCircle as={WalletIcon} /> <IconCircle as={TruckIcon} tone="primary" /> <IconCircle as={RepeatIcon} tone="success" shape="square" size={44} /> <IconCircle as={BellIcon} tone="warning" /></div>Usage
Row scale only, 32–64px: the leading slot of a ListRow, a feature bullet.
API
<IconCircle as size? shape="circle|square" tone? />Get it
Already in every copy of the web kit:
import { IconCircle } from '@/components/kit/icon-circle';Details
- Exports
IconCircle- Packages
- cn@^0.5.2, lucide-react@^1.52.0
- Also searched as
- icon well, icon badge
- Registry JSON
- /r/web/icon-circle.json
Agents: the whole registry is at /llms.txt.