Rails Components

Expert guidance for building reusable UI components in Rails using partials, CSS classes, and helpers. Use when creating components, partials, reusable UI patterns, empty states, modals, cards, buttons, badges, alerts, data tables, or any component pattern. Covers decision framework for CSS-only vs partial vs helper vs ViewComponent, proper use of local_assigns, block yielding, capture for slots, variant patterns, and component galleries.

thinkoodle 684faba 2 files · 39.9 KB Updated

File contents

thinkoodle/rails-skills/tree/main/skills/rails-components commit 684fabaa14

Frequently asked questions

npx skillmds@latest add thinkoodle/rails-components