Shine Sweep Button

About this component

Shine Sweep Button

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

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

Props

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

PropTypeDefaultDescription
label*string—Button label
asChildboolean—Compose 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.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.
iconLucideIcon—Optional 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)
classNamestring—Additional classes merged onto the button

More Button components

View all Button