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

Last updated on 3/7/2025

On this page

Privacy Policy

We respect your privacy and are committed to protecting your personal data. This privacy policy will inform you about how we look after your personal data and tell you about your privacy rights.

Read full policy