A modern, space‑themed Body Mass Index (BMI) calculator built with SvelteKit + TypeScript, designed for a accessible user experience.
- Instant BMI results Includes category classification and guidance.
- High‑quality animations (optional) Results reveal, count‑up number, and gauge/range animations.
- Render Mode toggle
Turn advanced visuals on/off for better performance or battery life.
Stored in
localStorageasbmi.renderMode. - Reduced motion support
Respects
prefers-reduced-motion. - Privacy-first No tracking — preferences and history are stored locally.
- Offline ready Includes a service worker in production builds.
- Framework: SvelteKit
- Language: TypeScript
- UI: Svelte components + custom CSS
- Runtime / tooling: Bun
- Deployment: Vercel
bun install
bun run devOpen the local URL printed in your terminal.
bun run dev # start dev server
bun run check # svelte-check
bun run lint # eslint
bun run test:run # tests
bun run build # production build
bun run preview # preview build
./verify.sh # check + lint + test + buildsrc/
lib/components/ reusable UI components
lib/ui/ app UI sections
routes/ SvelteKit routes/pages
global-styles.css global styling
PRs are welcome.
GPL‑3.0 — see LICENSE.md.