Remoogle
Weather Card
Weather Card 미리보기
장면

Weather Card

@remotionui/weather-card

출처 RemotionUI

Conditions with animated iconography

설치

npx remotion-ui@latest add weather-card

Props (16)

  • placestring= "Lisbon"

    Place name across the top.

  • detailstring= "Saturday · 14:20"

    Line under the place: a time, a date, a feels-like.

  • temperaturenumber= 24

    The temperature the card counts up to.

  • unitstring= "°"

    Degree suffix, used on the headline and the forecast.

  • condition"sun" | "cloud" | "rain" | "snow"= "sun"

    Which glyph runs beside the headline.

  • conditionLabelstring= "Clear, light breeze"

    Words under the temperature.

  • forecastForecastDay[]= 5 sample days

    Label, condition, high and low per column.

  • temperatureAtSecondsnumber= 0.4

    Second the temperature starts counting.

  • countSecondsnumber= 1

    How long the count takes.

  • forecastAtSecondsnumber= 1.4

    Second the first forecast day arrives.

  • staggerSecondsnumber= 0.34

    Seconds between forecast days.

  • holdSecondsnumber

    Seconds the card holds before it retreats. Omit to leave it up; the iconography keeps moving either way.

  • accentColorstring= "#E8B86D"

    The degree symbol. Kept off the condition colour on purpose.

  • backgroundColorstring

    Page behind the card. Defaults to the theme page colour.

  • theme"dark" | "light"= "dark"

    Surface palette.

  • speednumber= 1

    Animation speed multiplier.

의존 컴포넌트

npm 패키지

카테고리