Skip to main content

Components

List of components available in Web3Modal package

<W3mButton />

VariableDescriptionType
disabledEnable or disable the button.
boolean
balanceShow or hide the user's balance.
'show' or 'hide'
sizeDefault size for the button.
'md' or 'sm'
labelThe text shown in the button.
string
loadingLabelThe text shown in the button when the modal is open.
string

<W3mAccountButton />

VariableDescriptionType
disabledEnable or disable the button.
boolean
balanceShow or hide the user's balance.
'show' or 'hide'

<W3mConnectButton />

VariableDescriptionType
sizeDefault size for the button.
'md' or 'sm'
labelThe text shown in the button.
string
loadingLabelThe text shown in the button when the modal is open.
string

<W3mNetworkButton />

VariableDescriptionType
disabledEnable or disable the button.
boolean