Kinetik UI

Glide Radio

.md

A radio group with one dot that travels between the rings like a drop of ink, stretching as it goes.

v1.0.0Live on webreact-native-reanimatedreact-native-worklets
Component preview

Installation

Kinetik CLI
npx kinetik-ui add glide-radio

The CLI copies the source and installs native dependencies with npx expo install, so versions match your Expo SDK. With shadcn: npx shadcn@latest add https://kinetik-ui.dev/r/glide-radio.json

Install manually

  1. Install dependencies
    npx expo install react-native-reanimated react-native-worklets
  2. Copy the source files
    • components/kinetik/glide-radio.tsx
    View source files

Usage

import { GlideRadio } from '@/components/kinetik/glide-radio';

<GlideRadio
  accessibilityLabel="Notify me about"
  options={[
    { value: 'all', label: 'Everything' },
    { value: 'mentions', label: 'Mentions and replies' },
    { value: 'none', label: 'Nothing' },
  ]}
  value={level}
  onValueChange={setLevel}
/>;

When to use

  • A single choice from a short, visible list in a settings screen or a form.
  • Options that read best as plain rows, with an optional line of detail.

When not to use

  • Options that need a price or a badge to compare. Use Choice Cards.
  • Choices that take effect one by one and can be combined. Use checkboxes (Ink Check).

Notes

  • One dot serves the whole group: its front follows a snappy spring and its back a smooth one, so it stretches as it travels and settles round.
  • Rows are at least 48 pt tall and grow with their description.
  • With reduced motion the dot jumps to the new ring.

Props

GlideRadioProps

PropTypeDefaultDescription
optionsrequiredreadonly GlideRadioOption[]—
valuerequiredstring—
onValueChangerequired(value: string) => void—
accessibilityLabelrequiredstring—Names the group for screen readers, e.g. "Notifications".
hapticsbooleantrueA tick when the choice changes. Defaults to true.
testIDstring—
styleStyleProp<ViewStyle>—

Performance and accessibility

Performance

Budget
Plain views; one dot driven by two shared values serves the whole group. Nothing runs at rest.
Measured

Pixel 9 emulator, API 35, release build · interaction median 0.94× the system Settings app on the same emulator (indicative only) · no frames drawn at rest · 142 MB app memory

Real-device measurement pending.

Accessibility

Reduced motion
The dot jumps to the new ring without stretching.
Screen readers
A radio group named by accessibilityLabel; each row is a radio that reads its label and description.
Touch target
Each row is the target, at least 48 pt tall.

Source files

components/kinetik/glide-radio.tsx is in the Code tab of the preview above.