Play Button

A video play button with a circular play seal, label, and duration for showreels and product demos.

Installation

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

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

New here? Read the installation guide.

Usage

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

import { Button7 } from "@/components/beste/component/button7";
import Link from "next/link";

<Button7 label="Watch showreel" sublabel="2:31" onClick={() => console.log("play showreel")} />

// Compose the link with the render prop: your Link becomes the rendered
// element and the button content stays as its children.
<Button7
  label="See it in action"
  tone="outline"   // "dark" (default) | "primary" | "outline"
  render={<Link href="/demo" />}
/>

Playground

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

Usage
import { Button7 } from "@/components/beste/component/button7";

<Button7
  label="Watch showreel"
  sublabel="2:31"
/>

Props

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

PropTypeDefaultDescription
label*stringButton label
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)
sublabelstringMuted second line (e.g. the video duration "2:31")
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

Icon Button

An accessible icon button with a required label, three sizes, and circle or square shape.

Expanding Reveal Button

An expanding icon button that reveals its label on hover or focus for compact layouts.

Soft Action Button

A compact, softly rounded action button with a solid accent, soft neutral, or hairline outline tone and an optional trailing icon.

Seal Arrow Button

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

Hold to Confirm Button

A hold to confirm button that fills while held and fires only when the hold completes.

Pressable Button

A neobrutalist button with a hard offset shadow that lifts on hover and presses in on click.

Markdown version