Component packs › Dials › Aperture Ring

Aperture Ring

Turn the knurled lens ring and it clicks from stop to stop while a seven-blade iris closes and opens with the f-number.

Aperture Ring is a ring dial from Dials, a component pack with 8 components: Physical controls that click: dials, wheels, rings and switches with real detents. Price: $2 for the whole pack.

Built with: seven-blade iris, angle drag, detents.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Aperture Ring props

PropTypeDefaultDescription
valuenumber2, f/2.8)Index into the stops (default 2, f/2.8).
stopsnumber[]
theme'dark' | 'light'
soundboolean
hapticsboolean
autoplayboolean
onChange(f: number) => void

Methods on the ref

Use it in React

import ApertureRing from './ApertureRing';

<ApertureRing />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Dials

Good for: Knobs and dials.