Home/Docs/Components/Network-switcher

Network Switcher

A component that allows users to easily switch between different blockchain networks with built-in support for popular chains.

Selected Chain ID: 1

Network

Select a blockchain network to connect to

Connected

Installation

Run the following command to add the Network Switcher component to your project:

npx w3-kit@latest add network-switcher

This will:

  • Create the component in your components/ui directory
  • Add all necessary dependencies to your package.json
  • Set up required configuration files
  • Add network configuration utilities to your project