Documentation

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
Edit on GitHub

Last updated on

On this page