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: 172,003 of 196,721
Downloads: 2,803

Daily

Ranking: 36,893 of 196,694
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,426,725,582activesupport
81,410,641,125rake
291,017,967,488rspec
46785,326,044railties
98499,434,149simplecov
117422,455,379webmock
173306,065,587rubocop-rails
182294,459,110rubocop-rspec
200271,958,999rspec_junit_formatter
504107,576,354memory_profiler
73579,812,329rbs
82569,249,263simplecov-cobertura
86962,810,139view_component
1,00651,227,542standard
1,49429,313,141standard-performance
1,51728,556,795standard-custom
1,64323,919,664rubocop-thread_safety
1,98715,651,736appraisal
3,0475,872,066standard-rails
3,8703,149,659phlex-rails

Owners

#GravatarHandle
1iconamkisko