BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

scoped_css

v0.1.3RubyGems· Ruby

scoped_css provides automatic CSS scoping for Rails templates and ViewComponents. It ensures styles are isolated to specific components or templates, preventing CSS conflicts and enabling modular styling. The gem works by automatically adding unique scope identifiers to CSS rules and corresponding HTML elements, making it easy to maintain clean, conflict-free stylesheets in large applications. No CSS preprocessors or postprocessors are required.

The verdict
Aging — last published 11 months ago — check before adopting. Check the repo for activity before adopting.
Check the repo for activity before adopting.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceAging
PopularityNiche
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 11 months ago — check before adopting.
Popularity
8 downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
  • 0.1.311 months ago
  • 0.1.211 months ago
  • 0.1.112 months ago
  • 0.1.012 months ago
scoped_css — scoped_css provides automatic CSS scoping for Rails templates and ViewComponents. It ensures styles are isolated to specific components or templates, preventing CSS conflicts and enabling modular styling. The gem works by automatically adding unique scope identifiers to CSS rules and corresponding HTML elements, making it easy to maintain clean, conflict-free stylesheets in large applications. No CSS preprocessors or postprocessors are required. (Ruby / RubyGems) · Modules