App UI kits › Minaret › Calculation settings

Calculation settings

Switch method or Asr school and today’s times recompute live, with the ones that moved called out.

Calculation settings is a screen from Minaret, an app ui kit with 10 screens: Prayer times on the sun’s real path, a qibla that settles, and the Quran text exactly as published. Price: $5 for the whole pack.

Built with: live recompute, methods explained, mosque adjustments.

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.

Calculation settings props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosMnPhotos
onChange(s: { method: MnMethod; hanafi: boolean; city: MnCity; adjust: Record<string, number> }) => void

Methods on the ref

Use it in React

import MinaretSettings from './MinaretSettings';

<MinaretSettings />

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

More in Minaret

Good for: Prayer times app UI, Pakistan, Middle East and UAE.