Skip to main content
AppKit provides pre-built React components that you can use to trigger the modal or display wallet information.

React Components

Component Properties

All React components support the same properties as their HTML element counterparts:
  • AppKitButton: size, label, loadingLabel, disabled, balance, namespace
  • AppKitConnectButton: size, label, loadingLabel
  • AppKitAccountButton: disabled, balance
  • AppKitNetworkButton: disabled

React Components

AppKit provides React-specific components that integrate seamlessly with your React application. These components automatically reflect the AppKit state and provide a more React-native experience.

<AppKitButton /> and <AppKitNetworkButton />

These React components provide the same functionality as the web components but with better React integration and TypeScript support.

Props

Both components accept the following optional props:

<appkit-wallet-button />

Using the wallet button components (Demo in our Lab), you can directly connect to more than 40 of the top wallets globally, WalletConnect QR, and all the social logins. This component allows to customize dApps, enabling users to connect their wallets effortlessly, all without the need to open the traditional modal. Follow these steps to use the component:
  1. Install the package:
  1. Import the library in the project:
  1. Use the component in the project:

Multichain Support

You can specify a blockchain namespace to target specific chains:

React Hook Integration

You can also use the useAppKitWallet hook for programmatic wallet connections with multichain support:

Options for wallet property

Options for namespace property