Skip to content

Feat/badge component#1309

Merged
SAPTARSHI-coder merged 2 commits into
SAPTARSHI-coder:mainfrom
codedbydollys10:feat/badge-component
Jun 4, 2026
Merged

Feat/badge component#1309
SAPTARSHI-coder merged 2 commits into
SAPTARSHI-coder:mainfrom
codedbydollys10:feat/badge-component

Conversation

@codedbydollys10
Copy link
Copy Markdown
Contributor

Pull Request Description

Adds a reusable CSS-only badge component submission under badge-component, providing theme-aware status labels and tag styles for use cases like notifications, product statuses, and feature tags.


Closes #1253

Type of Change

  • ✨ New animation / hover effect
  • 🧩 New component
  • 📝 Documentation improvement
  • 🐛 Bug fix in an existing submission
  • Other (describe below)

Submission Checklist

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

  • All changes are inside badge-component
  • 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?

A lightweight badge component system with .ease-badge as the base class and semantic color modifiers for success, warning, danger, primary, secondary, and info.

How does a developer use it?

<span class="ease-badge">Default</span>
<span class="ease-badge ease-badge-success">Success</span>
<span class="ease-badge ease-badge-warning">Warning</span>
<span class="ease-badge ease-badge-danger">Danger</span>

Why does it fit EaseMotion CSS?

It follows EaseMotion CSS’s utility-first, animation-aware philosophy by delivering a composable visual component with no JavaScript, responsive layout support, and dark-mode / reduced-motion readiness.


Demo

  • Demo added (demo.html works by opening directly in a browser)

Browser Testing

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

Notes for Maintainer

  • The demo page shows 10 real-world badge scenarios.
  • style.css includes both the badge utility styles and demo page styling for self-contained review.
  • No framework or build dependencies are required.

Reminder: Only the repository maintainer may merge pull requests.
Do not self-merge, even if you have write access.
Maximum 2 active assigned issues per contributor — unassign extras before opening a PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

✅ Submission Validation Passed!

Great job! All required files are present.

📁 Folder: submissions/examples/badge-component

Files found:

  • demo.html
  • style.css
  • README.md

📁 Folder: submissions/examples/skeleton-loading-utilities

Files found:

  • demo.html
  • style.css
  • README.md

🚀 Next Steps:

  • The maintainer will review your PR
  • Respond to any feedback if requested
  • Once approved, your contribution will be merged!

Thank you for contributing to EaseMotion CSS! 🎉

@codedbydollys10
Copy link
Copy Markdown
Contributor Author

hey @SAPTARSHI-coder pls review my pr & 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
@codedbydollys10
Copy link
Copy Markdown
Contributor Author

hey @SAPTARSHI-coder pls merge it if u want I can fix the ci of validation too

@SAPTARSHI-coder SAPTARSHI-coder merged commit 27442a5 into SAPTARSHI-coder:main Jun 4, 2026
8 of 11 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) contribution 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: Badge Component Utilities

2 participants