Weather Snapshot
Weather Snapshot: Compact weather card with temperature, highs/lows, humidity, and wind — clear or rain variants. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Weather Snapshot
npx motion-ui-skill add weather-snapshotComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactreacttailwind-merge
Source files
Weather Snapshot
Compact weather card with temperature, highs/lows, humidity, and wind — clear or rain variants.
Install
npx motion-ui-skill add weather-snapshot
Dependencies
clsxlucide-reactreacttailwind-merge
Usage
"use client";
import { WeatherSnapshotCard } from "@/components/others/weather-snapshot-card";
export function WeatherSnapshotCardDemo() {
return (
<div className="flex items-center justify-center p-6">
<WeatherSnapshotCard />
</div>
);
}
API Reference
WeatherSnapshotCard
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |