Profile Badge

Selin AksoyProduct Designer
About this component

Profile Badge

A profile badge with avatar, name, and role for author and team credits.

Usage

The import and the props worth knowing about, in one place.

import { Badge16 } from "@/components/beste/component/badge16";
import Link from "next/link";

<Badge16 src="/avatars/selin.jpg" name="Selin Aksoy" role="Product Designer" />

// Compose the link with the render prop: your Link becomes the chip and the
// badge content stays as its children.
<Badge16
  src="/avatars/mert.jpg"
  name="Mert Yilmaz"
  role="@mert"
  tone="muted"
  render={<Link href="https://x.com/mert" />}
/>

Props

Read from the component's own type, so this cannot drift from what it accepts.

PropTypeDefaultDescription
src*string—Avatar image URL
name*string—Person's name
rolestring—Muted second line (role, company, handle)
asChildboolean—Compose the rendered element shadcn-style (radix asChild): your element (e.g. a router Link) becomes the chip and the badge content is injected as its children. Pass the element without children of its own.
childrenReact.ReactElement—The element to render when `asChild` is set (e.g. your framework's Link)
hrefstring—Fallback link: renders a plain `<a>`. Prefer `asChild` with your framework's Link component for client-side navigation.
tone"neutral" | "muted"—Surface tone: bordered background (default) or muted fill
classNamestring—Additional classes merged onto the root

More Badge components

View all Badge
12k+active users
Loved by 2,400+ founders
Est. 2019, Berlin