New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@wallet-ui/react

Package Overview
Dependencies
Maintainers
1
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wallet-ui/react

React components for Wallet UI

latest
Source
npmnpm
Version
4.0.2
Version published
Maintainers
1
Created
Source

npm npm-downloads
code-style-prettier

@wallet-ui/react

This package provides the official React components and hooks for Wallet UI, a modern, headless UI component library for Solana apps.

Features

  • Provider: A single <WalletUi> provider to easily wrap your application and manage state.
  • Hooks: A complete set of hooks (useWalletUi, useWalletUiSigner, etc.) that give you full control to build custom wallet interactions.
  • Components: Pre-built components like <WalletUiDropdown /> to get you started quickly.
  • Headless: Built with a headless-first philosophy, allowing for maximum customization.

Quick Start

import { createSolanaDevnet, createWalletUiConfig, WalletUi, WalletUiDropdown } from '@wallet-ui/react';
import React from 'react';

// 1. Create your configuration
const config = createWalletUiConfig({
    clusters: [createSolanaDevnet()],
});

// 2. Wrap your app with the provider
function App() {
    return (
        <WalletUi config={config}>
            <YourApp />
        </WalletUi>
    );
}

// 3. Use the components anywhere in your app
function YourApp() {
    return (
        <div>
            <h2>My Awesome App</h2>
            <WalletUiDropdown />
        </div>
    );
}

Documentation

For full documentation, including guides, component references, and hook APIs, please visit wallet-ui.dev/docs/react.

Keywords

blockchain

FAQs

Package last updated on 31 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts