Profile Badge

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

Selin AksoyProduct Designer

Installation

Adds the component and everything it depends on to your project.

npx shadcn add https://ui.beste.co/component/r-base/badge16

New here? Read the installation guide.

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" />}
/>

Playground

Turn the props on the right; the snippet under them is what you would write to get what you see.

Selin AksoyProduct Designer
Usage
import { Badge16 } from "@/components/beste/component/badge16";

<Badge16
  src="https://i.pravatar.cc/72?img=26"
  name="Selin Aksoy"
  role="Product Designer"
/>

Props

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

PropTypeDefaultDescription
src*stringAvatar image URL
name*stringPerson's name
rolestringMuted second line (role, company, handle)
asChildbooleanCompose 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.ReactElementThe element to render when `asChild` is set (e.g. your framework's Link)
hrefstringFallback 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
classNamestringAdditional classes merged onto the root

More Badge components

View all Badge
12k+active users

Stat Badge

A stat badge with an icon, bold value, and label for quick hero metrics.

Loved by 2,400+ founders

Testimonial Badge

A testimonial badge with an avatar stack, star rating, and social proof text for hero sections.

Announcement Badge

An announcement pill badge with a bold tag, message, and optional link arrow for hero sections.

Est. 2019, Berlin

Barcode Badge

A decorative barcode badge with a monospace caption for editorial and print inspired sections.

4.9from 200+ reviews

Rating Badge

A star rating badge with a numeric value and review text for social proof sections.

New template addedThe Auralis studio set is live

Notification Badge

A toast style notification badge with an icon tile, title, and description for product updates.

Markdown version