Variants

Core visual styles for different contexts and hierarchy levels.

Sizes

Scale buttons to match surrounding UI density and touch targets.

Shapes

Adjust border radius to match your design system's geometry.

States

Visual feedback for interaction, loading, and disabled contexts.

Icon Buttons

Compact controls for toolbars, modals, and action menus.

Button Groups

Join related actions into a unified control with shared borders.

Usage

Copy the markup or import the component class from your project.

// Basic Button
<button class="wb-btn wb-btn--primary">Get Started</button>

// With Icon & Loading State
<button class="wb-btn wb-btn--secondary wb-btn--loading"
        disabled>Processing</button>

// Component Import (JS/TS)
import { Button } from '@webui/core';

export default function ActionPanel() {
  return (
    <Button variant="primary" size="lg" icon={rocket}>
      Deploy to Production
    </Button>
  );
}