Skip to content

Wallet Connection Modal / Flow #30

@greatest0fallt1me

Description

@greatest0fallt1me

Description

Design the modal/overlay component for wallet connection that can be reused across the app. Should handle multiple wallet types, connection states, and errors.

Requirements and Context

  • Must be reusable component
  • Support multiple Stellar wallets
  • Handle all connection states
  • Clear error messages
  • Accessible modal

Detailed Design Specifications

Modal Structure:

  • Overlay (semi-transparent background)
  • Centered modal card
  • Close button (X in top-right)
  • Title: "Connect Wallet"

Wallet Options:

  • List of supported wallets
  • Each option:
    • Wallet icon/logo
    • Wallet name
    • "Connect" button
    • Brief description
  • Visual: Cards with hover states

States:

  • Default: Wallet options shown
  • Connecting: Loading spinner, "Connecting to [Wallet]..."
  • Success: Checkmark, "Connected successfully", auto-close
  • Error: Error icon, error message, "Try Again" button
  • No wallet installed: Message, "Install [Wallet]" link

Footer:

  • "By connecting, you agree to Terms of Service"
  • Link to help/documentation

Accessibility:

  • Focus trap (keyboard navigation)
  • ESC to close
  • ARIA labels
  • Screen reader announcements

User Flow

  1. User triggers wallet connection (button click)
  2. Modal opens
  3. User selects wallet
  4. Wallet prompts for approval
  5. Connection succeeds or fails
  6. Modal closes or shows error

Design Deliverables

  • Modal component design
  • All state mockups
  • Mobile modal design
  • Interactive prototype
  • Design specifications

Guidelines

  • Reusable component design
  • Clear states
  • Accessible modal
  • Error handling
  • Timeframe: 96 hours
  • Project details: #

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions