feat: Add React Badge Notification Pulse Indicator (#28024)#39348
Closed
realtushartyagi wants to merge 2 commits into
Closed
feat: Add React Badge Notification Pulse Indicator (#28024)#39348realtushartyagi wants to merge 2 commits into
realtushartyagi wants to merge 2 commits into
Conversation
Owner
✅ React/SCSS Submission Validated!Great work @realtushartyagi! 🎉 Your react submission passed all quality checks. ⚛️ Folder:
|
Owner
✅ React/SCSS Submission Validated!Great work @realtushartyagi! 🎉 Your react submission passed all quality checks. ⚛️ Folder:
|
Owner
|
🔒 Pull Request Closed: Stale/Duplicate Submission 🔒 Hi @realtushartyagi! 👋 This pull request has been closed because the linked issue (#28024) is already resolved and closed. Another contributor's pull request was accepted and merged for this task first. Thank you for your contribution! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Description
Adds a new React Component: Badge Notification Pulse Indicator.
This submission provides a lightweight, highly reusable React wrapper component designed to attach an attention-grabbing, pulsing status badge to any target element (like an inbox icon or avatar). The component accepts a
colorprop natively in React and securely injects it into an inline CSS variable (--badge-pulse-color). The HTML structure splits the badge into two semantic spans: a static outer dot, and an inner pulse ring (.ease-badge-pulse-ring) which executes an infinite, hardware-acceleratedtransform: scale()fading loop via pure CSS. This guarantees buttery smooth 60fps animations without relying on heavy JavaScript timers.Fixes #28024
Fixes #27356
Type of Change
Submission Checklist
submissions/react/react-badge-notification-pulse-indicator-realtushartyagi-28024/demo.html— (N/A: React Component Submission)style.css— (N/A: Uses component-scoped .css instead)README.md— what it does, how to use it, why it fits EaseMotion CSScore/components/Feature Description
What does this add?
A highly reusable React wrapper component that renders a classic "Notification Dot" featuring a pure CSS, infinitely looping scale-and-fade keyframe pulse animation.
How does a developer use it?