dialog-patterns
OfficialNative dialog UI patterns for Rails with Turbo/Stimulus.
Authormajesticlabs-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides native HTML dialog patterns for Rails apps, enabling accessible modals, confirmations, alerts, and toasts without heavy JS frameworks.
Core Features & Use Cases
- Zero-JS Confirmations: Declarative dialogs with Invoker Commands where supported.
- Async Modals with Turbo Frames: Integrated modal flows using Turbo Frames.
- Accessible Dialogs: Focus management and ARIA considerations baked in.
Quick Start
Implement a simple Delete confirmation using a native dialog with turbo-frame and a Stimulus controller.
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: dialog-patterns Download link: https://github.com/majesticlabs-dev/majestic-marketplace/archive/main.zip#dialog-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.