App UI kits › Minaret › Qibla
A great-circle bearing to the Kaaba; the card turns with the phone and the needle swings and settles on a spring.
Qibla 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: spring needle, device compass, distance to Makkah.
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 |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | MnPhotos | ||
city | MnCity | ||
onAligned | () => void |
heading(deg: number): void: Set the phone's heading (degrees from north), as a compass would.destroy(): voidimport MinaretQibla from './MinaretQibla';
<MinaretQibla />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Prayer times app UI, Pakistan, Middle East and UAE.