I am creating a web application and am working to add the solana wallet button using @solana/wallet-adapter. I have gotten the button to work but it wont accept custom css. Does anyone know how to do this?

1 Answer 1


The Wallet adapter components set CSS class names that can be styled.

Not enough details in the question for me to know how you are using TailwindCSS but if it is via CSS file, then here is an example of how to override the button's style:

.wallet-adapter-button {
  // your style customisation

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.