Vesture
Get started

Inputs

Button

A native button with three visual weights. Forwards its ref and spreads every standard button attribute, so it drops into forms, dialogs, and toolbars without a wrapper.

Button

Preview

Usage

tsx
import { Button } from "@vesture/react";

function Example() {
  return (
    <Button variant="secondary" onClick={handleSave}>
      Save changes
    </Button>
  );
}

Props

PropTypeDefaultDescription
variant"primary" | "secondary" | "ghost""primary"Visual weight.
...restButtonHTMLAttributes<HTMLButtonElement>Spread onto the native <button> — disabled, type, onClick, etc.