Docs
Button
Chonky Button

Chonky Button

A bold, rounded black button with a springy press effect.

by Sarthak Kapila

Get started

Installation


Usage


Chonky Button Example

1import ButtonBlack from "@/components/chunky-button";
2
3export default function Example() {
4 return <ButtonBlack title="Get started" width={144} height={56} />;
5}

Understanding the component


The button uses a subtle elevation shadow that collapses on press, creating a tactile feel. Motion is powered by a spring animation for a responsive interaction.

Credits


By Sarthak Kapila.

Props


PropTypeDefaultDescription
titlestring"Get started"Text displayed inside the button.
widthnumber144Button width in pixels.
heightnumber56Button height in pixels.