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-snapshot

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • lucide-react
  • react
  • tailwind-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

  • clsx
  • lucide-react
  • react
  • tailwind-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

Browse this category