Introducing Three Variants for Widget
Apr 26, 2024Release

We are excited to announce that our widget now supports three distinct variants, providing developers with greater flexibility to choose the option that best suits their needs. These variants - default (compact), expanded, and full-expanded - offer the same functionality while differing in their design details and size. With this update, developers can experiment with different variants in our playground to determine which one aligns most closely with their requirements.
Supported Variants:
1. Default (Compact)
2. Expanded
3. Full-Expanded (Wide)
Playground Experimentation:
Developers are encouraged to utilize our playground environment to explore and compare the three variants in real-time.

Implementation Details
Developers can utilize the following syntax to integrate the widget into their applications and specify the desired variant:
import { Widget } from "@rango-dev/widget-embedded";
export default function App() {
const config = { // Specify the desired variant here: 'default', 'expanded', or 'full-expanded'
**variant: 'expanded',**
apiKey: '...', // Your API key
walletConnectProjectId: '...' // Your WalletConnect project ID
}
return (
<div className="App">
<Widget config={config} />
</div>
);
}