Rating Laurel

A laurel wreath frames a 4.96 rating above category scores and gliding review cards. A free, MIT-licensed Remotion social video animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/rating-laurel

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { RatingLaurel } from "@/components/remocn/rating-laurel";
 
const RatingLaurelScene = () => (
  <RatingLaurel
    rating={4.9}
    title="Loved by builders"
    subtitle="Rated in the **top 5%** of launch tools"
    reviewCount={298}
  />
);
 
export const RemotionRoot = () => (
  <Composition
    id="RatingLaurel"
    component={RatingLaurelScene}
    durationInFrames={270}
    fps={30}
    width={1280}
    height={720}
  />
);

A laurel draws around a rolling rating number with a title and a subtitle (wrap words in ** for emphasis). Category score chips appear, review cards fade up and glide sideways, and a "Show all reviews" button closes the beat. Pass reviews, categories and reviewCount; device picks a web card or a phone frame (portrait always uses phone). Ships light and dark via theme.

The ground is a live gradients.sh shader (GshGround), installed with the component as @remocn/gsh. Pick another look with the ground preset prop.

Props20

PropTypeDefault
rating
number4.96

The headline rating, shown to two decimals.

title
string"Loved by builders"

Heading under the wreath.

subtitle
string"remocn is in the **top 5%** of launch tools, based on ratings, reviews, and reliability"

Supporting line; wrap words in ** for bold.

ctaLabel
string"Install"

Label of the install button.

priceLabel
string"Free"

Price in the phone layout's bottom bar.

reviews
RatingReview[]DEFAULT_REVIEWS

Review cards: quote, name, city, optional date and hue.

reviewCount
number298

Review count shown in the "Show all reviews" button.

categories
RatingCategory[]DEFAULT_CATEGORIES

Category scores, each with label, score and icon.

device
"web" | "phone""web"

Show the layout as a web card or a phone frame.

accent
string"#3B5BFD"

Color of the call-to-action button.

ink
string—

Text color; overrides the theme ink.

background
string—

Solid fill in place of the gradient ground; pass "transparent" to drop it.

fontFamily
string"Hanken Grotesk"

Typeface for the copy. Load the font in your project first.

logo
React.ReactNode—

Replaces the remocn mark.

scale
number1

Size of the foreground around the frame's center; the background stays put.

delay
number0

Frames to hold the first frame before anything moves.

speed
number1

Playback speed multiplier for the whole timeline.

theme
"light" | "dark""light"

Color scheme. Ships light and dark.

ground
GshPresetId—

gradients.sh preset id for the animated ground.

groundParams
Partial<GradientParams>—

Overrides for the ground shader parameters.

  • ratingnumber

    The headline rating, shown to two decimals.

    Default4.96

  • titlestring

    Heading under the wreath.

    Default"Loved by builders"

  • subtitlestring

    Supporting line; wrap words in ** for bold.

    Default"remocn is in the **top 5%** of launch tools, based on ratings, reviews, and reliability"

  • ctaLabelstring

    Label of the install button.

    Default"Install"

  • priceLabelstring

    Price in the phone layout's bottom bar.

    Default"Free"

  • reviewsRatingReview[]

    Review cards: quote, name, city, optional date and hue.

    DefaultDEFAULT_REVIEWS

  • reviewCountnumber

    Review count shown in the "Show all reviews" button.

    Default298

  • categoriesRatingCategory[]

    Category scores, each with label, score and icon.

    DefaultDEFAULT_CATEGORIES

  • device"web" | "phone"

    Show the layout as a web card or a phone frame.

    Default"web"

  • accentstring

    Color of the call-to-action button.

    Default"#3B5BFD"

  • inkstring

    Text color; overrides the theme ink.

  • backgroundstring

    Solid fill in place of the gradient ground; pass "transparent" to drop it.

  • fontFamilystring

    Typeface for the copy. Load the font in your project first.

    Default"Hanken Grotesk"

  • logoReact.ReactNode

    Replaces the remocn mark.

  • scalenumber

    Size of the foreground around the frame's center; the background stays put.

    Default1

  • delaynumber

    Frames to hold the first frame before anything moves.

    Default0

  • speednumber

    Playback speed multiplier for the whole timeline.

    Default1

  • theme"light" | "dark"

    Color scheme. Ships light and dark.

    Default"light"

  • groundGshPresetId

    gradients.sh preset id for the animated ground.

  • groundParamsPartial<GradientParams>

    Overrides for the ground shader parameters.