What problem does it solve?
This Skill streamlines the creation of reusable, maintainable, and well-structured view components in Rails applications using the Phlex gem, adhering to Atomic Design principles.
Core Features & Use Cases
- Component Generation: Create Phlex view components for Rails applications.
- Atomic Design Methodology: Organizes components into atoms, molecules, organisms, templates, and pages for better scalability.
- Styling Integration: Supports Tailwind CSS for efficient and consistent styling.
- Interactivity: Integrates Stimulus controllers for client-side interactivity.
- Turbo Integration: Facilitates seamless integration with Turbo for enhanced user experiences.
- Use Case: Develop a new button component following Atomic Design principles, apply Tailwind CSS for styling, and wire up a Stimulus controller for hover effects, all within the Phlex framework.
Quick Start
Create a new Phlex component for a user avatar with a given image URL and size.