feat: Add React Breadcrumb Trail with Animated Chevron Dividers (#28029)#39338
Closed
realtushartyagi wants to merge 2 commits into
Closed
Conversation
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 (#28029) is already resolved and closed. Another contributor's pull request was accepted and merged for this task first. Thank you for your contribution! |
Owner
✅ React/SCSS Submission Validated!Great work @realtushartyagi! 🎉 Your react submission passed all quality checks. ⚛️ Folder:
|
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: Breadcrumb Trail with Animated Chevron Dividers.
This submission provides a highly semantic, copy-paste ready React component that renders a navigation breadcrumb trail. It strictly adheres to accessibility standards utilizing
<nav aria-label>and<ol>structures while intelligently tagging the active leaf node witharia-current="page". Visually, it leverages advanced CSS combinators (the+adjacent sibling selector) to bind the hover state of the anchor link to the immediately following SVG chevron divider. This triggers a smooth, hardware-accelerated "slide forward" animation on the chevron whenever the user hovers over a link, providing immediate tactile feedback without requiring heavy JavaScript event listeners.Fixes #28029
Fixes #27361
Type of Change
Submission Checklist
submissions/react/react-breadcrumb-trail-with-animated-chevron-dividers-realtushartyagi-28029/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 React-powered semantic breadcrumb navigation block that utilizes the CSS adjacent sibling selector (
+) to trigger a forward-sliding animation on chevron dividers when the preceding link is hovered.How does a developer use it?