UX.SOL

UX.SOL registry

Search current registry items. Open any item to view its docs, usage, and install command.

16 items available

Components8

Component

Address Display

Displays a shortened blockchain address with optional copy-to-clipboard support.

Component

Wallet Connect Button

Connects a Solana wallet and displays the current connection state.

Component

Button

Reusable button component with variants, sizes, and accessible interaction states.

Component

NFT Card

Displays NFT artwork, metadata, pricing, and actions in a reusable card.

Component

NFT Card Collection

Displays collection artwork, stats, description, and item previews in a reusable card.

Component

Coin Price Tooltip

Shows a token price summary with optional trend details in a tooltip.

Component

Token Swap Card

Provides a token swap interface with token inputs, slippage options, and confirmation states.

Component

Status Badge

Displays network or service status with configurable labels and visual indicators.

Hooks5

Hook

useTokenBalance

Fetches, aggregates, and refreshes precise SPL token balances for a wallet and mint.

Hook

useTransactionSimulation

Simulates Solana transactions before requesting a wallet signature.

Hook

useSmartRetry

Retries asynchronous Solana operations with configurable backoff and error handling.

Hook

useTransactionStatus

Tracks a Solana transaction signature and exposes confirmation state.

Hook

useOptimisticTransaction

Manages optimistic transaction state with confirmation and rollback handling.

API hooks1

API hook

usePrivatePayment

Typed React hook for the MagicBlock Private Payments API with auth-aware requests, transaction builders, balance readers, and mint initialization checks.

Flows1

Flow

Quick Send Flow

Drop-in SOL send flow with recipient validation, transfer review, wallet approval states, retry handling, and an explorer receipt.

Templates1

Template

Private Transfer Template

Standalone devnet USDC private payment template with wallet connect, mint initialization, wallet signing, submission, and confirmation.