Browse components
Award BadgesNo account needed
Award images orbit a claim in a tilted ring.
Add to your project
Let your AI assistant add it
Paste this into your AI coding tool to add the component.
# Integrate this UI component
Add this component to my project.
1. Install any missing dependencies.
2. Make sure Tailwind CSS is set up and scans the new file.
3. Prefer passing props over editing the component source — changing the component itself may break it.
4. Adjust colors, size, and layout via props or wrapper classes to match my project. You know my codebase better than this snippet does.
## Component source
```tsx
import type { ReactNode } from 'react';
// ---------------------------------------------------------------------------
// Props
// ---------------------------------------------------------------------------
//
// badges Up to nine award images. `src` is the badge file.
// icon Business mark shown in the center
// label Claim that stays in the center of the orbit
// className Styles for the outer shell
//
type AwardBadge = {
name: string;
src: string;
};
type AwardBadgesProps = {
badges?: AwardBadge[];
icon?: ReactNode;
label?: string;
className?: string;
};
const RADIUS = 180;
const TILT = 50;
export default function AwardBadges({
badges = [],
icon,
label = 'Highly rated',
className = '',
}: AwardBadgesProps) {
const tiles = badges.slice(0, 9);
const step = tiles.length ? 360 / tiles.length : 0;
const lines = label.trim().split(/\s+/);
return (
<div aria-label={label} className={`grid place-items-center [perspective:880px] ${className}`}>
<style>{`
@keyframes award-orbit {
from { transform: rotateX(${TILT}deg) rotateZ(0deg); }
to { transform: rotateX(${TILT}deg) rotateZ(-360deg); }
}
@keyframes award-face {
from { transform: rotateZ(var(--slot)) translateY(${-RADIUS}px) rotateZ(calc(var(--slot) * -1)) rotateX(${-TILT}deg); }
to { transform: rotateZ(var(--slot)) translateY(${-RADIUS}px) rotateZ(calc(var(--slot) * -1 + 360deg)) rotateX(${-TILT}deg); }
}
@media (prefers-reduced-motion: reduce) {
.award-orbit, .award-face { animation: none !important; }
}
`}</style>
<div className='relative size-[30rem] [transform-style:preserve-3d]'>
<div
aria-hidden
className='pointer-events-none absolute left-1/2 top-[58%] h-12 w-48 -translate-x-1/2 rounded-full bg-[color:var(--color-foreground,#09090b)] opacity-10 blur-2xl'
/>
<div
className='award-orbit absolute inset-0 [transform-style:preserve-3d]'
style={{
transform: `rotateX(${TILT}deg) rotateZ(-18deg)`,
animation: 'award-orbit 28s linear infinite',
}}
>
{tiles.map((badge, index) => (
<div
key={badge.name}
title={badge.name}
aria-label={badge.name}
className='award-face absolute left-1/2 top-1/2 grid size-16 -translate-x-1/2 -translate-y-1/2 place-items-center'
style={{
['--slot' as string]: `${index * step}deg`,
transform: `rotateZ(${index * step}deg) translateY(${-RADIUS}px) rotateZ(${-index * step}deg) rotateX(${-TILT}deg)`,
animation: 'award-face 28s linear infinite',
}}
>
<img
src={badge.src}
alt=''
className='h-16 w-16 object-contain [filter:drop-shadow(0_12px_8px_rgb(0_0_0/0.2))]'
/>
</div>
))}
</div>
<div className='pointer-events-none absolute left-1/2 top-1/2 flex -translate-x-1/2 -translate-y-1/2 translate-z-6 flex-col items-center gap-2'>
{icon ? (
<div className='grid size-16 place-items-center [&>*]:h-full [&>*]:w-full [&>*]:object-contain'>
{icon}
</div>
) : null}
<p className='flex flex-col items-center text-center text-[11px] font-bold uppercase tracking-[0.28em] text-[color:var(--color-foreground,#09090b)]'>
{lines.map((line, index) => (
<span key={`${line}-${index}`}>{line}</span>
))}
</p>
</div>
</div>
</div>
);
}
```
Works with your AI tools
* Compatible with most projects that use the default React/Next.js framework.
Built With
Props
| Prop | Type | Description |
|---|---|---|
badges | AwardBadge[] | Up to nine award images. Each entry has a name and an image src |
icon | ReactNode | Business mark shown in the center |
label | string | Claim that stays in the center of the orbit |
className | string | Styles for the outer shell |
More Trust Components




+2
Joined by 2.4k builders
Layered portraits with grayscale-to-color hover, spring lift, and a glass +N counter.
4.9· 1.3k reviews
G2Rated 4.9 out of 5 from 1280 reviews on G2Editorial rating with sequentially drawn stars, review count, and a soft luminous edge.