Pressable Button

About this component

Pressable Button

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

Usage

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

import { Button11 } from "@/components/beste/component/button11";
import { Zap } from "lucide-react";
import Link from "next/link";

<Button11 label="Press me" onClick={() => console.log("pressed")} />

// Compose the link with the render prop: your Link becomes the rendered
// element and the button content stays as its children.
<Button11
  label="Get started"
  icon={Zap}
  tone="primary"
  render={<Link href="/signup" />}
/>

Playground

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

Usage
import { Button11 } from "@/components/beste/component/button11";

<Button11
  label="Press me"
/>

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"neutral" | "primary"Surface tone: plain background (default) or primary fill. The hard border and shadow stay foreground either way
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

Magnetic Button

A magnetic button that is pulled toward the cursor on hover and springs back on leave.

Expanding Reveal Button

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

Scramble Button

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

Icon Button

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

Corner Brackets Button

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

Editorial CTA Button

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