Vibary.ai
← Vibe Coding

Rank Promotion

The old tier ring fades while the new tier's ring strokes itself around the badge.

achievementpremiumelegantautomatic · finite · intermediate · ~1.2s
Variant

The animated component in this preview is rendered from the canonical file shown here. The surrounding demo shell only provides context and is not part of the copied code.

271 lines · react + motion only
import { useEffect, useState } from "react";
import { AnimatePresence, motion, useReducedMotion } from "motion/react";

/**
 * Vibary · Rank Badge Promote
 *
 * Moving up a tier. The old ring fades out while the new tier's ring
 * draws itself around the badge from twelve o'clock, the rank glyph

About this pattern

Crossing into the next tier. The outgoing ring only fades — animating two rings around the circle at the same time would read as a spinner — while the incoming one draws from twelve o'clock in the new tier's colour, and the badge gives a single three-percent settle as the stroke closes. Drawing rather than crossfading is what makes this a promotion instead of a swap: the stroke has a start, a direction and a finish, so the new standing is something built around the wearer. The rank glyph is stacked chevrons rather than a numeral, so the mark that changes is drawn artwork and no text is ever caught scaling; the tier name below crossfades in a fixed-height slot.

Loyalty tier upgradeMembership status changeSeller rating promotionSupport level advance

Where it shows up

Screens we drew to show where this motion usually sits. Illustrations, not captures of any product.

  • 10:15
    Achievements
    First orderUnlocked today
    Five-day streakUnlocked Tue
    Early riserUnlocked last week
    Full monthLocked
    HomeSearchActivityProfile
    Achievements

    Medallion tier card changing colour and insignia on qualification.

Related patterns