UI · hotel-rating-card
Hotel rating card
A stay listing card: the photo wipes in and slowly pushes in, name and location slide up, stars fill one by one, the review score counts up, amenity icons pop in, the nightly price counts up and a Book button pulses.
A free, MIT-licensed UI animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Hotel rating card is for
Hotel, rental and resort promos, travel-booking app demos, "top-rated stay" reels, property / venue / restaurant rating cards — set the photo, name, stars, score, price and amenities.
Details
- Category
- UI & product mockup animations
- Length
- 7.0 s (210 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
badge- Colour props
backgroundcardinkaccent- Image props
src- Mood
- photo, ui, night
- Roles
- subject
Use Hotel rating card in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add hotel-rating-card --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render hotel-rating-card --props '{"badge":"Top rated","background":"#E3EAF2","card":"#FFFFFF","ink":"#14233B","accent":"#E8553D","src":""}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export hotel-rating-card --as webm-alpha --props '{"badge":"Top rated","background":"#E3EAF2","card":"#FFFFFF","ink":"#14233B","accent":"#E8553D","src":""}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="hotel-rating-card"
props={{
badge: 'Top rated',
background: '#E3EAF2',
card: '#FFFFFF',
ink: '#14233B',
accent: '#E8553D',
src: '',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="hotel-rating-card"
props='{"badge":"Top rated","background":"#E3EAF2","card":"#FFFFFF","ink":"#14233B","accent":"#E8553D","src":""}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "hotel-rating-card",
"props": {
"badge": "Top rated",
"background": "#E3EAF2",
"card": "#FFFFFF",
"ink": "#14233B",
"accent": "#E8553D",
"src": ""
}
}
]
}Hotel rating card props
18 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
name | "Harbor View Hotel" | property name |
location | "Old Town · 4 min walk to the beach" | location line |
src | "" | photo (public/ path or https URL); '' draws a procedural hotel scene |
badge | "Top rated" | small tag on the photo ('' for none) |
stars | 4 | star class 0-5 (halves allowed, e.g. 4.5) |
score | 9.2 | review score that counts up (e.g. 9.2) |
scoreLabel | "Exceptional" | word next to the score |
reviews | "1,284 reviews" | review count text |
price | 189 | nightly price (counts up) |
currency | "$" | currency symbol in front of the price |
priceLabel | "per night" | small caps line under the price |
amenities | [{"icon":"wifi","label":"Free Wi-Fi"},{"icon":"pool","label":"Pool"},{"icon":"breakfast… | up to 6: {icon, label} — icon: wifi | pool | breakfast | parking | gym | spa | ac | bar | pets | beach | desk | kitchen | shuttle | coffee |
cta | "Book now" | button text |
background | "#E3EAF2" | page colour or 'transparent' |
card | "#FFFFFF" | card colour |
ink | "#14233B" | text colour |
accent | "#E8553D" | icons, badge and button colour |
startAt | 0 | frame the scene starts |
Related motions

Property listing card
Real-estate, rental and hospitality listings, property-site hero animations, agent promo reels, marketplace item cards. Pass a photo src,…
property-listing-card
Itinerary route with photo stops
Trip itineraries, tour and holiday packages, road-trip recaps, day-by-day plans, customer-journey stops — set stops (label, day, note,…
itinerary-route-stops
Boarding pass printing
Travel and airline promos, trip-confirmation beats, holiday reveals, "you are going to ..." moments, check-in UI demos — set the codes,…
boarding-pass-print
Code diff highlight
Pull-request and code-review explainers, "what changed" beats, refactor / bug-fix walkthroughs, changelog and developer-tool promos,…
code-diff-highlight
Glass lesson cards
Lesson, step and definition overlays for educational explainers, product tours and course trailers; the card system of an "interactive…
glass-lesson-card
Inspector popover
Product UI demos, design-tool and configurator promos, "tweak a parameter" explainers.
inspector-popover
Notes & credits
Technique sources:
- original (round 3)