App UI kits › Sky › Storm alert

Storm alert

A warning screen under a real storm: lightning flashes, the card flinches, and a live now marker sits in the warning window.

Storm alert is a screen from Sky, an app ui kit with 8 screens: A weather app whose background is the real sky. Price: $5 for the whole pack.

Built with: lightning, live window, notify switch.

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.

Storm alert props

PropTypeDefaultDescription
level'yellow' | 'amber' | 'red'
titlestring
fromnumberWindow, as hours of the day.
tonumber
nownumber
pointsstring[]
autoplaybooleanShowcase mode: flips the switch by itself until touched.
onNotify(on: boolean) => void

Methods on the ref

Use it in React

import SkyAlert from './SkyAlert';

<SkyAlert />

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

More in Sky

Good for: Weather app UI, UI and UX design examples.