ConnectButton

A button component that handles wallet connection functionality.

ConnectButton

The ConnectButton component provides wallet connection functionality with built-in state management.

Usage

import { ConnectButton } from '@avalabs/builderkit';

// Basic usage
<ConnectButton />

// With wallet display
<ConnectButton 
  showConnectedWallet={true}
  checkWrongNetwork={true}
/>

Props

PropTypeDefaultDescription
showConnectedWalletbooleanfalseShow connected wallet address
checkWrongNetworkbooleanfalseEnable network validation
classNamestring-Additional CSS classes

Is this guide helpful?

On this page

Page Actions

Edit on GitHubReport Issue