Skip to content

Add Star/Like System for Components #32

@Akshit-MMQH

Description

@Akshit-MMQH

Description:
Currently, components can be searched and browsed, but there’s no way for users to express which components they find useful or high-quality. Adding a star/like feature would allow developers to highlight popular components and make it easier for others to discover them.

Proposed Solution:
Add a star/like button on each component card (e.g., ⭐ or ❤️).
Display the total star count next to the button.
Store star counts in the database (or GitHub repo metadata, if available).
Update component cards to show popularity based on stars.
(Optional) Allow sorting by Most Starred.

Benefits:
Helps surface the most useful components.
Encourages community engagement.
Adds credibility and ranking to the component library.

Acceptance Criteria:
Each component card has a star/like button.
Clicking the button increments the count (once per user/session).
The star count is visible on component cards and detail pages.
Data persists (not just client-side).

Optional: Users can un-star (toggle).

Example UI:
📦 modern-update-card
⭐ 12 Stars

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions