Skip to content

Feat: Add glass navbar component#1273

Merged
SAPTARSHI-coder merged 7 commits into
SAPTARSHI-coder:mainfrom
codedbydollys10:feat/glass-navbar-component
Jun 4, 2026
Merged

Feat: Add glass navbar component#1273
SAPTARSHI-coder merged 7 commits into
SAPTARSHI-coder:mainfrom
codedbydollys10:feat/glass-navbar-component

Conversation

@codedbydollys10
Copy link
Copy Markdown
Contributor

Pull Request Description

Adds a reusable glass navbar component to EaseMotion CSS with a built-in backdrop blur effect, sticky positioning support, and a stronger blur variant. The update includes a demo section in demo.html and documentation in README.md.


Type of Change

  • 🧩 New component

Closes #1272

Submission Checklist

⚠️ PRs that fail this checklist will be closed without review.

  • All changes are inside submissions/examples/your-feature-name/
  • Includes demo.html — self-contained, opens in browser with no server
  • Includes style.css — raw CSS for the proposed feature
  • Includes README.md — what it does, how to use it, why it fits EaseMotion CSS
  • No changes to core
  • No changes to components
  • One feature per PR (no bundled unrelated changes)

Feature Description

What does this add?

Introduces a new ease-navbar-glass component with glassmorphism styling, plus ease-navbar-glass-sticky and ease-navbar-glass-blur modifiers for sticky and enhanced blur variants.

How does a developer use it?

<nav class="ease-navbar-glass" aria-label="Primary navigation">
  <div class="ease-navbar-brand">EaseMotion</div>
  <div class="ease-navbar-menu">
    <a class="ease-navbar-item" href="#">Home</a>
    <a class="ease-navbar-item" href="#">Features</a>
    <a class="ease-navbar-item" href="#">Contact</a>
  </div>
</nav>

Why does it fit EaseMotion CSS?

This aligns with EaseMotion CSS’s human-readable naming and CSS-only component approach. It builds on the existing glassmorphism card pattern while providing a reusable navigation container with responsive layout, accessibility-friendly focus styling, and graceful fallback for browsers without backdrop-filter.


Demo

  • Demo added (demo.html shows the navbar examples and opens directly in a browser)

Browser Testing

  • Chrome
  • Firefox
  • Edge
  • Safari (optional but appreciated)

Notes for Maintainer

  • The new component is implemented in navbar.css.
  • easemotion.css now imports the new navbar component.
  • README.md includes usage examples for all three classes.
  • easemotion.min.css was regenerated with the updated build script.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

📊 CSS Bundle Size Benchmark

This PR changes the size of easemotion.min.css.

Metric Base Branch This PR Difference
Raw 39.16 KB 41.06 KB 📈 +1.89 KB
Gzip 7.16 KB 7.46 KB 📈 +0.30 KB
Brotli 6.19 KB 6.46 KB 📈 +0.27 KB

@codedbydollys10
Copy link
Copy Markdown
Contributor Author

hey @SAPTARSHI-coder pls review my pr nd merge it

@SAPTARSHI-coder SAPTARSHI-coder added accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) enhancement New feature or request good first issue Good for newcomers GSSoC-26 Official GSSoC 2026 issue gssoc:approved Approved for GSSoC contributions integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement labels Jun 4, 2026
@SAPTARSHI-coder SAPTARSHI-coder merged commit d1916cb into SAPTARSHI-coder:main Jun 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) enhancement New feature or request good first issue Good for newcomers gssoc:approved Approved for GSSoC contributions GSSoC-26 Official GSSoC 2026 issue integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ Feature Request: Introduce a Glass Navbar component feature

2 participants