Components
OnDeviceBadge
A quiet pill that says where inference runs: ON DEVICE · APPLE, LOCAL · LLAMA, CLOUD. The dot glows while thinking.
No model needed
Install
npx ondai add on-device-badgeUsage
import { OnDeviceBadge } from '@/components/ondai/on-device-badge'
<OnDeviceBadge size="sm" state={status} />Variants
| Prop | Options |
|---|---|
variant | pill, icon, text |
size | sm, md, lg |
Fallback
Pure UI: no model required.
Eval score
No model-driven fixtures for this component.
Files
npm dependencies: @ondai/core, @ondai/tokens, react-native-reanimated











