+
+
+ Send to{' '}
+ {' '}
+ on {to.icon}
+
+
+
+ {
+ handleAmountChange({
+ amount: value,
+ token: currentToken,
+ });
+ }}
+ value={bridgeParams.amount}
+ />
+ {
+ handleAmountChange({
+ amount: bridgeParams.amount,
+ token: token,
+ });
+ resetDepositStatus();
+ setCurrentToken(token);
+ }}
+ />
+
+
+
+
+ {label}
+
+
+ {address && (
+
+ {`Balance: ${Number(balance).toLocaleString(undefined, {
+ maximumFractionDigits: 5,
+ minimumFractionDigits: 0,
+ })}`}
+
+
+ )}
+
+
+ );
+}
diff --git a/src/appchain/bridge/components/AppchainBridgeNetwork.tsx b/src/appchain/bridge/components/AppchainBridgeNetwork.tsx
new file mode 100644
index 0000000000..530a88caf5
--- /dev/null
+++ b/src/appchain/bridge/components/AppchainBridgeNetwork.tsx
@@ -0,0 +1,62 @@
+import { background, border, cn, text } from '@/styles/theme';
+import { useAppchainBridgeContext } from './AppchainBridgeProvider';
+
+interface AppchainBridgeNetworkReact {
+ type: 'from' | 'to';
+ label: string;
+}
+
+export const AppchainBridgeNetwork = ({
+ type,
+ label,
+}: AppchainBridgeNetworkReact) => {
+ const { from, to } = useAppchainBridgeContext();
+
+ const displayNetwork = type === 'from' ? from.name : to.name;
+ const displayIcon = type === 'from' ? from.icon : to.icon;
+
+ return (
+