Weather Card - Argon

PRO

The WeatherCard component helps you to simply create a beautiful card for display the weather situation.


The below codes are editable and you can modify them the way you want directly from your browser, please use the green button or the ctrl + s to save the changes.

Demo

// Argon Dashboard 2 PRO MUI examples import WeatherCard from "examples/Cards/WeatherCard";
Weather Today
San Francisco - 29°C
weather icon
cloudy

Props Information

NameTypeDefaultDescription
color'white''primary''secondary''info''success''warning''error''dark'infoUsed to set the WeatherCard background color.
title*stringUsed to set the WeatherCard title. Its a required prop.
weather*{ location: string, degree: ["number", "string"] }Used to set the WeatherCard weather details.
icon*{ text: string, component: string, }Used to set the WeatherCard icon or image with its label. Its a required prop.
Contents