ClickGems by ClickHouse
--
to
--

clsx-rails

Authors: Leonid Svyatov
License: MIT
Summary: Build CSS class strings from conditional expressions, hashes, arrays, or nested structures. 2-4x faster drop-in replacement for Rails class_names. Supports ViewComponent, Phlex, and Tailwind CSS.

Can't find the visual you need? Build your own here

Download

5

last day

462

last month

3K

total

Version

All

version

3.0.1clsx-rails

latest version

RubyGem Downloads Over Time

loading-iconLoading

Top RubyGem Versions

loading-iconLoading

Downloads by Ruby Version Over Time

loading-iconLoading

Top Contributors

loading-iconLoading

Downloads by System Over Time

loading-iconLoading

RubyGem Downloads by Country

loading-iconLoading
© 2026 ClickHouse, Inc. HQ in the Bay Area, CA and Amsterdam, NL.