Skip to content

feat: build reusable Button component system with pill-shaped variants #102 - #168

Open
prasiddhi-105 wants to merge 5 commits into
Muskankr:mainfrom
prasiddhi-105:feature/reusable-button
Open

feat: build reusable Button component system with pill-shaped variants #102#168
prasiddhi-105 wants to merge 5 commits into
Muskankr:mainfrom
prasiddhi-105:feature/reusable-button

Conversation

@prasiddhi-105

Copy link
Copy Markdown
Contributor

📝 Description

This PR resolves issue #102 by designing and implementing a single, unified Button component framework, successfully centralizing independent button code paths and styling rules across the interface.

Key implementations include:

  • Pill-Shaped Variant Architecture: Created a standard, reusable Button component supporting primary, secondary, and ghost layouts. Both the primary and ghost variants leverage a fully rounded capsule design (9999px) to maintain fluid cohesion across layouts.
  • Layout Cleanups & De-duplication: Harmonized the dashboard design layout by reorganizing the control bar tools side-by-side at the header, ordering the action flows symmetrically, and sweeping out old duplicate hardcoded block declarations.
  • Interactive Uniformity: Standardized cohesive micro-interactions (hover, active, and disabled scaling profiles) globally via CSS utility layers.

🔗 Related Issue

Closes #102

Screenshot:

Screenshot 2026-07-18 211725

✅ Type of Change

  • ✨ New feature (non-breaking change that adds functionality)
  • 💅 UI/UX improvement

🧪 How Has This Been Tested?

  • Confirmed variant styles accurately inherit structural theme context tokens.
  • Verified capsule rendering layout snaps cleanly across both primary action inputs and top-level utility controls.
  • Checked action button states across normal usage, hover conditions, and background execution blocks.

@prasiddhi-105
prasiddhi-105 requested a review from Muskankr as a code owner July 18, 2026 15:49
@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

@prasiddhi-105 is attempting to deploy a commit to the a2521729-9889's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Muskankr

Copy link
Copy Markdown
Owner

@prasiddhi-105 , Resolve merge conflicts and also before pushing code check this in frontend terminal npm run build as it will pass deployment conditiond because after merging it is causing deployment fail problem.

@Muskankr Muskankr left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve merge conflicts

@prasiddhi-105

Copy link
Copy Markdown
Contributor Author

Resolve merge conflicts

done

@Muskankr Muskankr added the ui/ux label Jul 19, 2026
@prasiddhi-105

Copy link
Copy Markdown
Contributor Author

Resolve merge conflicts

check once i cleared resolve conflicts again

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build a reusable Button component with defined variants

2 participants