Skip to content

Mobile: Build Reusable Custom Button Component #1013

Description

@Yunusabdul38
  • Difficulty Tag: Easy
  • Module: Components
  • Task Description:
    Create a reusable button component matching the design elements of the Agora web platform.
    1. Create components/ui/Button.tsx.
    2. The button must support:
      • title: string text.
      • onPress: callback function.
      • variant: filled, outlined, or text-only.
      • isLoading: shows a loading spinner overlay instead of text.
      • disabled: opacity reduction and interaction blockage.
      • shadow: boolean to enable the signature hard offset shadow.
  • Acceptance Criteria:
    • The button renders correctly with proper typography and alignment.
    • Press interactions apply a subtle scale animation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions