Components

ModelDownload

A thin progress line, ring or card with a tabular percentage while a model downloads.

No model needed

Install

npx ondai add model-download

Usage

import { ModelDownload } from '@/components/ondai/model-download'

<ModelDownload progress={0.42} variant="bar" label="Preparing model" detail="1.2 GB · Wi-Fi only" />

Variants

PropOptions
variantbar, ring, card
sizesm, md, lg

Fallback

Pure UI: no model required.

Eval score

No model-driven fixtures for this component.

Files

Registry dependencies: button, surface

npm dependencies: @ondai/tokens, lucide-react-native, react-native-reanimated, react-native-svg

On this page