Button

Button with a quick press, hairline rings instead of borders, four variants, and a 44px tap area even at small sizes.

Preview

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add @easeui/button

API Reference

PropTypeDefaultDescription
className?string--
variant?"primary" | "secondary" | "outline" | "ghost"primaryVisual style. Default "primary".
size?"sm" | "md" | "lg" | "icon"mdHeight and padding. "icon" is a square button for a single icon. Default "md".

Updated