Learn how to integrate Tailwind CSS with OnchainKit
OnchainKit comes with first class support for tailwindcss.
1
Use default OnchainKit's style
You can use the default styles without any customization.
Just place this at the top of your application’s entry point to have the components work out of the box.
Copy
Ask AI
import '@coinbase/onchainkit/styles.css';
2
Tailwind CSS Config
Depending on your dark mode setup, you may have to add safelist: ['dark'] to your Tailwind config.