Scramble Button

About this component

Scramble Button

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

Usage

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

import { Button19 } from "@/components/beste/component/button19";
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.
<Button19 label="Decrypt access" render={<Link href="/signup" />} />

<Button19
  label="Run diagnostics"
  tone="dark"   // "outline" (default) | "dark" | "primary"
  onClick={() => console.log("run diagnostics")}
/>

Props

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

PropTypeDefaultDescription
label*string—Button label (rendered uppercase, monospace)
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.
tone"outline" | "dark" | "primary"—Surface tone: bordered outline (default), solid dark, or primary
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