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-badge

Usage

import { OnDeviceBadge } from '@/components/ondai/on-device-badge'

<OnDeviceBadge size="sm" state={status} />

Variants

PropOptions
variantpill, icon, text
sizesm, 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

On this page