Skip to content

[FE-01] Create reusable Button component in contrib folder #606

@yusuftomilola

Description

@yusuftomilola

Overview

Create a reusable Button component in frontend/contrib/ that covers all variants used across the platform.

Location

All work must be inside frontend/contrib/components/ui/.

Acceptance Criteria

  • Variants: primary, secondary, danger, outline, ghost
  • Sizes: sm, md (default), lg
  • Loading state: shows spinner and disables interaction
  • Accepts leftIcon and rightIcon props
  • Fully typed with TypeScript props interface
  • Uses Tailwind CSS for styling

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions