Avatar Stack Button

A social proof button with an avatar stack inside the pill and a trailing arrow.

Installation

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

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

New here? Read the installation guide.

Usage

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

import { Button6 } from "@/components/beste/component/button6";
import Link from "next/link";

// Compose the link with the render prop: your Link becomes the rendered
// element and the button content stays as its children.
<Button6
  label="Join 2,400+ members"
  avatars={["/avatars/mia.jpg", "/avatars/deniz.jpg", "/avatars/omar.jpg"]}
  render={<Link href="/signup" />}
/>

<Button6
  label="Meet the community"
  avatars={["/avatars/ada.jpg", "/avatars/can.jpg"]}
  tone="outline"   // "dark" (default) | "primary" | "outline"
  onClick={() => console.log("meet the community")}
/>

Playground

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

Usage
import { Button6 } from "@/components/beste/component/button6";

<Button6
  label="Join 2,400+ members"
  avatars={["https://i.pravatar.cc/64?img=14","https://i.pravatar.cc/64?img=33","https://i.pravatar.cc/64?img=48"]}
/>

Props

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

PropTypeDefaultDescription
label*stringButton label (e.g. "Join 2,400+ members")
asChildbooleanCompose the rendered element shadcn-style (radix asChild): your element (e.g. a router Link) becomes the root and the button 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)
avatars*string[]Avatar image URLs shown as a stack inside the pill
hrefstringFallback link: renders a plain `<a>`. Prefer `asChild` with your framework's Link component for client-side navigation.
tone"dark" | "primary" | "outline"Surface tone: solid dark (default), primary, or bordered outline
onClickReact.MouseEventHandler<HTMLButtonElement>Click handler (used when there is no href and no asChild)
classNamestringAdditional classes merged onto the button

More Button components

View all Button

Seal Arrow Button

An uppercase pill button with a trailing seal arrow chip and an optional link.

Letter Roll Button

A pill button whose label rolls up letter by letter with a staggered hover animation.

Shine Sweep Button

A premium pill button with a diagonal shine sweep on hover for pricing and upgrade actions.

Editorial CTA Button

An editorial pill button with a rolling label and animated icon seal on hover.

Underline Arrow Button

A minimal text button with an animated underline and arrow for lightweight calls to action.

Scramble Button

A scramble text button that cycles random glyphs on hover for developer and tech landings.

Markdown version