Skip to content

Conversation

@Dev00-1
Copy link

@Dev00-1 Dev00-1 commented Jan 31, 2026

What’s Improved : -

  • Visual Polish

Refined typography (15px, tighter tracking, stronger weight) for a more modern look.

Enhanced gradient styling for the primary button to add depth and balance.

Introduced subtle hover “sheen” for premium UI feel.

Standardized border-radius usage across sizes for visual consistency.

  • Interaction & Motion

Added tactile press feedback using subtle scale and shadow adjustments.

Improved hover and active states without JavaScript or animation libraries.

Respected user motion preferences using motion-reduce.

  • Accessibility & UX

Improved disabled states to feel intentional (grayscale + cursor feedback).

Preserved focus-visible rings for keyboard navigation.

Ensured SVG icons remain consistent and layout-safe.

  • Code Quality

Consolidated base styles for better readability and maintainability

Fixed invalid Tailwind utility usage (hidden md:flex)

Kept the component fully compatible with cva, asChild, and existing variants

This update modernizes the Button component’s visual design and interaction feedback while keeping its existing API and behavior fully intact. The goal was to improve perceived quality, accessibility, and consistency without introducing breaking changes or additional dependencies.

Signed-off-by: Dev00-1 <devmalang.2005@gmail.com>
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