Chakra Conflicts
VeChain Kit components are wrapped in their own Chakra Provider (v2), ensuring consistent styling throughout the modals. This can cause conflicts if your app also uses Chakra UI.
Problem
VeChain Kit components not rendering correctly
Theme conflicts when your app uses Chakra UI
Missing styles or unexpected appearance
Solution
Install Chakra UI
Even if you don't use Chakra in your app, it's required as a peer dependency:
yarn add @chakra-ui/[email protected]Setup ChakraProvider
Wrap your app with ChakraProvider and include ColorModeScript:

Key Requirements
The essential setup:
Framework Flexibility
You can keep using whatever frontend framework you prefer. The important part is defining the ChakraProvider wrapper for VeChain Kit components to function properly.
Common Issue
One common issue is missing the <ColorModeScript /> component, which can cause styling inconsistencies. Always include it within your ChakraProvider.
Was this helpful?