Component packs › Setpoint › Permission Toggles
Switch a permission and the app on the phone changes with it: the location arrow and camera or microphone privacy dots appear and each card shows what it can do.
Permission Toggles is a settings from Setpoint, a component pack with 6 settings panels: Settings panels that show the effect of every change as you make it. Price: $2 for the whole pack.
Built with: status bar indicators, precise or approximate, app reacts.
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.
| Prop | Type | Default | Description |
|---|---|---|---|
value | Partial<PermissionToggleValue> | ||
appName | string | ||
onChange | (value: PermissionToggleValue) => void | ||
autoplay | number | false | Showcase mode: flips a permission every N ms while visible. |
readonly value: PermissionToggleValuedestroy(): voidimport PermissionToggles from './PermissionToggles';
<PermissionToggles />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Settings pages.