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,961 of 192,666
Downloads: 1,663

Daily

Ranking: 132,857 of 192,588
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,339,625,357activesupport
81,310,508,356rake
29976,524,168rspec
45737,412,139railties
99464,871,551simplecov
118393,327,468webmock
198255,629,460rspec_junit_formatter
502100,861,857memory_profiler
82665,286,192simplecov-cobertura
89357,064,281view_component
90555,955,852rbs
1,05045,598,427standard
1,56524,470,325standard-performance
2,01313,966,097appraisal
3,1964,699,099standard-rails
3,9082,843,595phlex-rails

Owners

#GravatarHandle
1iconamkisko