viewcomponent-patterns
CommunityBuild reusable Rails UI components with TDD.
Software Engineering#rails#test-driven-development#ui-patterns#slots#viewcomponent#component-based-ui#cards-modals
AuthorThibautBaissac
Version1.0.0
Installs0
System Documentation
What problem does it solve?
ViewComponent-based UI blocks turn scattered markup into reusable, testable Ruby objects, reducing duplication and simplifying view logic in Rails apps.
Core Features & Use Cases
- Reusable components with slots (renders_one, renders_many) for flexible layouts
- Unit-tested UI blocks that render consistently across views (cards, badges, tables, modals)
- Pattern library with examples (Card, Badge, Table, Modal) to accelerate UI development
- Supports a test-driven development workflow with previews and documentation
Quick Start
Install or enable the ViewComponent integration and generate your first component to begin using reusable UI blocks.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: viewcomponent-patterns Download link: https://github.com/ThibautBaissac/rails_ai_agents/archive/main.zip#viewcomponent-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.