# Profile card with orbiting skills

> A profile card where small skill tags circle slowly around the avatar, above the name and a couple of stats.

- Category: [Cards](https://library.aimran.es/components/cards)
- Built with: HTML + CSS
- Live editor: https://library.aimran.es/blocks/uv-card-orbit-profile
- Library: AIMRAN Library (https://library.aimran.es), free, no sign-up, by Aimran Oukham

## Where to use it

A friendly way to show what someone does before reading a word. Try it on the speakers page of a tech conference, a freelancer marketplace or the team section of a creative agency, with each person's skills turning around their photo. This animated profile card also leaves space for stats and a “Connect” button.

Keep the tags to two or three letters or a single icon; long words will not fit in the little bubbles. On a team page with twenty people, the constant rotation gets busy, so save it for a featured profile or a short list.

## Code

### HTML

```html
<article class="uv-corbit"><div class="orbit"><i>MS</i><b>UI</b><b>3D</b><b>AI</b></div><h3>Mara Sol</h3><p>Creative director</p><div><span>128 <small>proyectos</small></span><span>48k <small>followers</small></span></div><button>Connect</button></article>
```

### CSS

```css
.uv-corbit {
  --c1: #0071e3;
  --c2: #8ec5ff;
  --s: 16px;
  /* tamaño */
  --k: 1;
  /* velocidad */
  --fg: #1d1d1f;
  /* texto */
  --bg: #f5f5f7;
  /* fondo */
}

.uv-corbit {
  font-family: -apple-system,BlinkMacSystemFont,"SF Pro Text","Inter",system-ui,sans-serif;
  width: 16em;
  padding: 1.5em;
  border-radius: 1.5em;
  font-size: var(--s);
  text-align: center;
  color: var(--fg);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--fg) 9%,transparent),0 22px 55px -38px #000;
}

.uv-corbit .orbit {
  position: relative;
  width: 8em;
  height: 8em;
  margin: auto;
  border: 1px dashed color-mix(in srgb,var(--c1) 30%,transparent);
  border-radius: 50%;
  animation: uv-co-r calc(14s / var(--k)) linear infinite;
}

.uv-corbit .orbit i {
  position: absolute;
  inset: 1.25em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.3em;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg,var(--c2),var(--c1));
  animation: uv-co-r calc(14s / var(--k)) linear infinite reverse;
}

.uv-corbit .orbit b {
  position: absolute;
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: .7em;
  font-size: .58em;
  color: var(--c1);
  background: var(--bg);
  box-shadow: 0 5px 15px rgba(0,0,0,.12);
  animation: uv-co-r calc(14s / var(--k)) linear infinite reverse;
}

.uv-corbit .orbit b:nth-of-type(1) {
  left: -.6em;
  top: 2.8em;
}

.uv-corbit .orbit b:nth-of-type(2) {
  right: 0;
  top: -.25em;
}

.uv-corbit .orbit b:nth-of-type(3) {
  right: .3em;
  bottom: -.3em;
}

.uv-corbit h3 {
  margin: 1em 0 .2em;
}

.uv-corbit p {
  margin: 0;
  font-size: .75em;
  opacity: .5;
}

.uv-corbit>div+div {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  margin: 1.2em 0;
}

.uv-corbit>div+div span {
  font-weight: 650;
}

.uv-corbit>div+div small {
  display: block;
  font-size: .58em;
  font-weight: 400;
  opacity: .5;
}

.uv-corbit button {
  width: 100%;
  padding: .8em;
  border: 0;
  border-radius: .8em;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--c1);
}

@keyframes uv-co-r {
  to {
    transform: rotate(360deg);
  }
}
```

### React

```tsx
import type { CSSProperties } from "react";

const css = `
.uv-corbit {
  font-family: -apple-system,BlinkMacSystemFont,"SF Pro Text","Inter",system-ui,sans-serif;
  width: 16em;
  padding: 1.5em;
  border-radius: 1.5em;
  font-size: var(--s);
  text-align: center;
  color: var(--fg);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--fg) 9%,transparent),0 22px 55px -38px #000;
}

.uv-corbit .orbit {
  position: relative;
  width: 8em;
  height: 8em;
  margin: auto;
  border: 1px dashed color-mix(in srgb,var(--c1) 30%,transparent);
  border-radius: 50%;
  animation: uv-co-r calc(14s / var(--k)) linear infinite;
}

.uv-corbit .orbit i {
  position: absolute;
  inset: 1.25em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.3em;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg,var(--c2),var(--c1));
  animation: uv-co-r calc(14s / var(--k)) linear infinite reverse;
}

.uv-corbit .orbit b {
  position: absolute;
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: .7em;
  font-size: .58em;
  color: var(--c1);
  background: var(--bg);
  box-shadow: 0 5px 15px rgba(0,0,0,.12);
  animation: uv-co-r calc(14s / var(--k)) linear infinite reverse;
}

.uv-corbit .orbit b:nth-of-type(1) {
  left: -.6em;
  top: 2.8em;
}

.uv-corbit .orbit b:nth-of-type(2) {
  right: 0;
  top: -.25em;
}

.uv-corbit .orbit b:nth-of-type(3) {
  right: .3em;
  bottom: -.3em;
}

.uv-corbit h3 {
  margin: 1em 0 .2em;
}

.uv-corbit p {
  margin: 0;
  font-size: .75em;
  opacity: .5;
}

.uv-corbit>div+div {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  margin: 1.2em 0;
}

.uv-corbit>div+div span {
  font-weight: 650;
}

.uv-corbit>div+div small {
  display: block;
  font-size: .58em;
  font-weight: 400;
  opacity: .5;
}

.uv-corbit button {
  width: 100%;
  padding: .8em;
  border: 0;
  border-radius: .8em;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--c1);
}

@keyframes uv-co-r {
  to {
    transform: rotate(360deg);
  }
}
`;

export default function CardOrbitProfile() {
  return (
    <>
      <style>{css}</style>
      <div
        style={{
          "--c1": "#0071e3",
          "--c2": "#8ec5ff",
          "--s": "16px",
          "--k": "1",
          "--fg": "#1d1d1f",
          "--bg": "#f5f5f7",
        } as CSSProperties}
      >
        <article className="uv-corbit"><div className="orbit"><i>MS</i><b>UI</b><b>3D</b><b>AI</b></div><h3>Mara Sol</h3><p>Creative director</p><div><span>128 <small>proyectos</small></span><span>48k <small>followers</small></span></div><button>Connect</button></article>
      </div>
    </>
  );
}
```

## Prompt for AI assistants

Paste this into ChatGPT, Claude, Cursor, v0 or Lovable to adapt the block to your stack (Tailwind, Vue, Svelte…):

````text
I want to add the “Profile card with orbiting skills” block (Cards) from AIMRAN Library to my project.

## What it is
A profile card where small skill tags circle slowly around the avatar, above the name and a couple of stats.

## Chosen settings
- Main color: #0071e3
- Secondary color: #8ec5ff
- Size: 16px (from 12 to 24px)
- Speed: 1x (from 0.5 to 2x)
- Text: "Mara Sol"

## What I need
1. Add it to my project with the same look and animation as the reference code: same sizes, colours, radii, shadows, timings and easing.
2. It is built with plain HTML and CSS (the reference wraps it in a React component with its CSS). If my project uses something else (Vue, Svelte, Astro, plain HTML…), translate it without losing any behaviour. If I use Tailwind, turn the styles into classes; if not, keep the CSS in its own file.
3. Expose the settings above as props (or CSS variables) with those values as defaults.
4. Make it work well on phones: nothing that depends only on hover, touch targets of at least 44 px and no overflow on 320 px screens.
5. Make it look right in light and dark mode.
6. Keep it accessible: semantic HTML, roles and aria-* where needed, visible focus and keyboard support.
7. Respect prefers-reduced-motion: with reduced motion, no big animations but the same end result.

## Reference code
```tsx
import type { CSSProperties } from "react";

const css = `
.uv-corbit {
  font-family: -apple-system,BlinkMacSystemFont,"SF Pro Text","Inter",system-ui,sans-serif;
  width: 16em;
  padding: 1.5em;
  border-radius: 1.5em;
  font-size: var(--s);
  text-align: center;
  color: var(--fg);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--fg) 9%,transparent),0 22px 55px -38px #000;
}

.uv-corbit .orbit {
  position: relative;
  width: 8em;
  height: 8em;
  margin: auto;
  border: 1px dashed color-mix(in srgb,var(--c1) 30%,transparent);
  border-radius: 50%;
  animation: uv-co-r calc(14s / var(--k)) linear infinite;
}

.uv-corbit .orbit i {
  position: absolute;
  inset: 1.25em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.3em;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg,var(--c2),var(--c1));
  animation: uv-co-r calc(14s / var(--k)) linear infinite reverse;
}

.uv-corbit .orbit b {
  position: absolute;
  display: grid;
  place-items: center;
  width: 2.2em;
  height: 2.2em;
  border-radius: .7em;
  font-size: .58em;
  color: var(--c1);
  background: var(--bg);
  box-shadow: 0 5px 15px rgba(0,0,0,.12);
  animation: uv-co-r calc(14s / var(--k)) linear infinite reverse;
}

.uv-corbit .orbit b:nth-of-type(1) {
  left: -.6em;
  top: 2.8em;
}

.uv-corbit .orbit b:nth-of-type(2) {
  right: 0;
  top: -.25em;
}

.uv-corbit .orbit b:nth-of-type(3) {
  right: .3em;
  bottom: -.3em;
}

.uv-corbit h3 {
  margin: 1em 0 .2em;
}

.uv-corbit p {
  margin: 0;
  font-size: .75em;
  opacity: .5;
}

.uv-corbit>div+div {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  margin: 1.2em 0;
}

.uv-corbit>div+div span {
  font-weight: 650;
}

.uv-corbit>div+div small {
  display: block;
  font-size: .58em;
  font-weight: 400;
  opacity: .5;
}

.uv-corbit button {
  width: 100%;
  padding: .8em;
  border: 0;
  border-radius: .8em;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--c1);
}

@keyframes uv-co-r {
  to {
    transform: rotate(360deg);
  }
}
`;

export default function CardOrbitProfile() {
  return (
    <>
      <style>{css}</style>
      <div
        style={{
          "--c1": "#0071e3",
          "--c2": "#8ec5ff",
          "--s": "16px",
          "--k": "1",
          "--fg": "#1d1d1f",
          "--bg": "#f5f5f7",
        } as CSSProperties}
      >
        <article className="uv-corbit"><div className="orbit"><i>MS</i><b>UI</b><b>3D</b><b>AI</b></div><h3>Mara Sol</h3><p>Creative director</p><div><span>128 <small>proyectos</small></span><span>48k <small>followers</small></span></div><button>Connect</button></article>
      </div>
    </>
  );
}
```

Give me the complete final code, ready to paste, and tell me in one line where to put it in my project.
````
