App UI kits › Minaret › Qibla

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.

Qibla props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosMnPhotos
cityMnCity
onAligned() => void

Methods on the ref

Use it in React

import MinaretQibla from './MinaretQibla';

<MinaretQibla />

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.