LinkButton

A link-styled button component that appears as a text link but behaves as a button

Installation

Terminal
pnpm add @choice-ui/link-button

Import

Component.tsx
import { LinkButton, type LinkButtonProps } from "@choice-ui/link-button"

Basic

Basic button usage without href prop. Renders as a <button> element with click handler.

Disabled

Disabled state prevents interaction and shows visual feedback. Works for both links and buttons.
Disabled Link

With Icons

Links with icons for better visual hierarchy.

Variants

Variants side by side for comparison.

API reference

LinkButtonPropsTypeDefault
className
string
|
undefined
-
disabled
boolean
|
undefined
-
readOnly
boolean
|
undefined
-
variant
undefined
|
"default"
|
"subtle"
-