Skip to content

feat: wallet card block#86

Merged
starc007 merged 3 commits into
mainfrom
feat/wallet-card
Jul 3, 2026
Merged

feat: wallet card block#86
starc007 merged 3 commits into
mainfrom
feat/wallet-card

Conversation

@starc007

@starc007 starc007 commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Adds a Wallet Card block (@beui/wallet-card) under the blocks category.

What it does

  • Account switcher — trigger morphs open into a full-width panel via shared layout (covers the header icons, grows down), with a per-row copy-address button (ActionSwapIcon copy→check).
  • Search — icon morphs into a full-width search bar with a cascading recent-searches list and empty state.
  • Balance — cascading value (ActionSwapText) with a live change pill, a defaultChange seed, and an eye privacy toggle that swaps the number for an asterisk mask.
  • Actions — Send / Deposit / Swap / Buy, icon-over-label with spring press.
  • Notifications — pulsing unread dot on the bell (hasNotifications).
  • DiceBear glass avatars; controlled/uncontrolled account state; reduced-motion safe throughout.

Files

  • components/motion/wallet-card/ — multi-file component (index, account-switcher, search-bar, actions, balance-delta, copy-button, account-avatar, constants, types, utils, use-dismiss)
  • preview + previews/index.tsx + lib/registry.ts entry

bun run check passes (typecheck, lint, registry — 40 components). Verified in-browser.

starc007 added 3 commits July 3, 2026 01:33
Account switcher and search icon each morph open from their trigger via shared layout; DiceBear glass avatars, a rolling balance with a live change pill, and Send/Deposit/Swap/Buy actions.
… wallet card

Copy address per account row via ActionSwapIcon; a pulsing unread dot on the bell; and an eye toggle that cascades the balance to an asterisk mask.
@starc007 starc007 merged commit 76242ac into main Jul 3, 2026
2 checks passed
@starc007 starc007 deleted the feat/wallet-card branch July 3, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant