# ruby-ui/ruby_ui

Ruby gem for RubyUI Components

Repository: https://github.com/ruby-ui/ruby_ui
Canonical: https://ross.abutalabs.com/products/ruby_ui
Homepage: https://rubyui.com
Language: Ruby
License Family: other
Last push: 2026-08-31T11:55:30+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 84, longevity 73
- inputs: {"age_days": 1030, "days_push": 2, "days_rel": 28, "gap_med": 37.5, "n_releases_24m": 7}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1032, forks 66 (observed 2026-09-01T02:14:06.386407+00:00)

## What it is
RubyUI is a Ruby gem providing a shadcn/ui-inspired library of beautifully designed, accessible, copy-and-paste UI components built on Phlex, TailwindCSS, and Stimulus JS. It targets Rails applications and includes theming via CSS variables, dark mode support, and an MCP server so AI agents can look up components and install commands.

## Use cases
- add shadcn/ui-style components to a Ruby on Rails app
- build modern web UI in Ruby without writing React
- find accessible Tailwind CSS components for Phlex views
- copy-paste button dialog table components into my Rails project
- implement dark mode with a theme toggle in a Rails app
- theme a Ruby web app with CSS variables like shadcn/ui
- get shadcn/ui look and feel for a non-React stack

## When to choose
- You are building a Rails (or Phlex-based) web app and want polished, accessible components
- You like the shadcn/ui aesthetic and copy-paste ownership model but work in Ruby
- Your project already uses TailwindCSS and you want compatible theming
- You want AI assistants to install and reference components via MCP

## When to avoid
- Your frontend is React/Vue/Svelte with its own component ecosystem
- You are not using Tailwind CSS or Phlex and don't want to adopt them
- You need a fully managed npm-style component package rather than vendored source files
- Your stack does not support Stimulus JS for interactive components

## Facets
- artifact type: library
- maturity: active
- function: ui-components, theme, css-framework
- domain: web-development, frontend, web-design
- platform: ruby, browser
- tags: phlex, tailwindcss, stimulus, shadcn-ui, rails, view-components, component-library, copy-paste-components, dark-mode, design-system, mcp-server, accessible-components, web-server

## Member repositories
- ruby-ui/ruby_ui (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:14:06.386407+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:07:23.374121+00:00, confidence not recorded.
  - readme: https://github.com/ruby-ui/ruby_ui (fetched 2026-09-01T02:14:06.386407+00:00, sha 2ef2ded0f6be)
  - homepage: https://rubyui.com (fetched 2026-08-29T13:06:48.029052+00:00, sha 4ed4862725de)
  - site_page: https://www.rubyui.com/docs/introduction (fetched 2026-08-29T13:06:48.031963+00:00, sha 43c8953c2298)
  - site_page: https://www.rubyui.com/docs/components (fetched 2026-08-29T13:06:48.034031+00:00, sha 8740ea288066)
  - site_page: https://www.rubyui.com/docs/installation (fetched 2026-08-29T13:06:48.036302+00:00, sha fff98df4e236)
  - site_page: https://www.rubyui.com/docs/dark_mode (fetched 2026-08-29T13:06:48.039321+00:00, sha 76bb9d317258)
  - site_page: https://www.rubyui.com/docs/theming (fetched 2026-08-29T13:06:48.041141+00:00, sha 02a25cb6e23d)
  - site_page: https://www.rubyui.com/docs/customizing_components (fetched 2026-08-29T13:06:48.042836+00:00, sha 72035c1d46f4)
  - site_page: https://www.rubyui.com/docs/changelog (fetched 2026-08-29T13:06:48.044504+00:00, sha 18e3dea10c94)
  - site_page: https://www.rubyui.com/docs/mcp (fetched 2026-08-29T13:06:48.046317+00:00, sha 6d546485a0a0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
