Button

A glass button with default and destructive variants.

Installation

npx shadcn@latest add @pane/button

First time using Pane in this project? See installation to register the @pane namespace.

Props

PropTypeDefaultDescription
variant"default" | "destructive""default"Visual emphasis.
size"default" | "sm" | "lg" | "icon""default"Button size.
asChildbooleanfalseMerge props onto the child element instead of rendering a <button>.