Haedong
002

Button

Action

Not clicked

Customize

Variant
Size
Disabled
Scramble

Code

<Button>Continue</Button>

Install

npx shadcn@latest add https://components.haedong.dev/r/button.json

Props

Extends the native button props. The scramble decode only applies when children is a plain string.

PropTypeDescription
variant"outline" | "solid" | "ghost"Resting look; hover inverts it. Defaults to "outline" (hairline box).
size"sm" | "md"Height 32px / 36px. Defaults to "md".
scramblebooleanReplay the character-scramble decode on hover and when the label changes. Defaults to true.
disabledbooleanNative disabled; dims to 40% and drops pointer events.
classNamestringExtra classes for the button element.