// Render a submit button <Buttontype="submit"onClick={() =>console.log("Button clicked")}>Click me</Button>
Example
// Render a small secondary button <Buttontype="button"variant="secondary"size="sm">Secondary button</Button>
Example
// Render a full width button <ButtonfullWidth>Full width button</Button>
Example
// Render a button with a pending state <ButtonisPendingpendingLabel="Sending...">Send transaction</Button>
Example
// Render a button with a custom button element <ButtononClick={() =>console.log("Button clicked")}asChild> <button>Send transaction</button> </Button>
A themed button component with loading state.