Shine Sweep Button

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

Installation

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

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

New here? Read the installation guide.

Usage

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

import { Button16 } from "@/components/beste/component/button16";
import Link from "next/link";
import { Sparkles } from "lucide-react";

// Compose the link with the render prop: your Link becomes the rendered
// element and the button content stays as its children.
<Button16 label="Upgrade to Pro" render={<Link href="/pricing" />} />

<Button16
  label="Go Premium"
  icon={Sparkles}   // optional leading icon
  tone="primary"    // "dark" (default) | "primary"
  rounded="md"      // "full" (default) | "lg" | "md" | "none"
  onClick={() => console.log("start checkout")}
/>

Playground

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

Usage
import { Button16 } from "@/components/beste/component/button16";

<Button16
  label="Upgrade to Pro"
/>

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)
hrefstringFallback link: renders a plain `<a>`. Prefer `asChild` with your framework's Link component for client-side navigation.
iconLucideIconOptional leading icon
tone"dark" | "primary"Surface tone: solid dark (default) or primary
rounded"full" | "lg" | "md" | "none"Corner radius (defaults to full)
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

Letter Roll Button

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

Editorial CTA Button

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

Seal Arrow Button

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

Expanding Reveal Button

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

Avatar Stack Button

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

Corner Brackets Button

A monospace button framed by corner brackets that spring outward on hover.

Markdown version