Skip to content
Core ElementsFree

Button

The main action trigger, in 10 variants, 2 shapes and 5 sizes.

Usage

Installation

bash
npm install @wunderui/react

Then import what you need:

tsx
import { Button, ButtonCell, ButtonGroup } from "@wunderui/react"

Examples

Main and secondary

The main action next to a quieter one.

Dark

A dark button for a confirming action.

Light

White with brand text, for colored or dark surfaces.

With icon

An icon before the label confirms the state.

With controls

Minus and plus inside the button change the quantity.

Quantity 1

In context

How the component is used inside real screens — the same compositions as the Usage section of the Figma page.

Login card

A social sign-in button, a divider, the main action and a link.

Welcome back
Sign in to continue to your workspace.
or

Create account

Cancel and create side by side in the footer.

Create your account
Free for 14 days, no card needed.

Verification code

The main button stays disabled until the code is complete, with a link to resend.

Check your phone
We sent a 6-digit code to +49 ••• ••• 041.
482

Delete modal

A destructive action next to a plain cancel.

Delete project?
“Checkout redesign” and its 12 screens will be removed permanently. This cannot be undone.

Check email

A main action with a quieter secondary one below it.

Check your email
A reset link is on its way to alina@wunderui.com.

API Reference

PropTypeDefault
variant"plain" | "primary" | "brand" | "gradient" | "dark" | "light" | "outline" | "ghost" | "destructive" | "link""primary"
shape"rounded" | "pill""rounded"
size"sm" | "md" | "lg" | "xl" | "2xl""md"
disabledbooleanfalse
renderReactElement—