Components

Button

Minimal button: ink solid, a soft raised key, and secondary variants that take the theme material (glass, Liquid Glass).

No model needed

Install

npx ondai add button

Usage

import { Button } from '@/components/ondai/button'

<Button title="Summarize" variant="solid" onPress={run} />

Variants

PropOptions
variantsolid, raised, soft, outline, ghost, accent, danger
sizesm, md, lg
skinclean, minimal, glass, pop, candy, metal, shine

Fallback

Pure UI: no model required.

Eval score

No model-driven fixtures for this component.

Files

Registry dependencies: surface

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

On this page