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: 181,041 of 193,214
Downloads: 1,726

Daily

Ranking: 129,210 of 193,188
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,354,414,585activesupport
81,330,047,653rake
29983,045,376rspec
45744,956,063railties
97470,376,754simplecov
118398,224,425webmock
202258,402,024rspec_junit_formatter
501101,938,093memory_profiler
82365,958,249simplecov-cobertura
88858,032,973rbs
88958,011,419view_component
1,04146,521,623standard
1,55725,255,622standard-performance
2,01014,225,758appraisal
3,1704,892,173standard-rails
3,9042,888,803phlex-rails

Owners

#GravatarHandle
1iconamkisko