Categories: None [Edit]

style_capsule

https://rubygems.org/gems/style_capsule
https://github.com/amkisko/style_capsule.rb
Provides component-scoped CSS encapsulation using [data-capsule] attributes for Phlex components, ViewComponent components, and ERB templates. Styles are automatically scoped to prevent leakage between components. Inspired by component-based CSS approaches like Angular's view encapsulation and CSS modules. Works with Rails and can be used standalone in other Ruby frameworks (Sinatra, Hanami, etc.) or plain Ruby scripts.

Total

Ranking: 180,901 of 192,104
Downloads: 1,603

Daily

Ranking: 60,252 of 192,085
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,324,932,202activesupport
81,291,638,605rake
29970,683,748rspec
46730,058,908railties
99459,987,123simplecov
118388,805,302webmock
197253,092,152rspec_junit_formatter
50499,821,807memory_profiler
82764,730,381simplecov-cobertura
89756,292,761view_component
91954,205,966rbs
1,05944,672,660standard
1,57823,750,990standard-performance
2,01413,761,543appraisal
3,2334,539,217standard-rails
3,9132,803,487phlex-rails

Owners

#GravatarHandle
1iconamkisko