What problem does it solve?
Vident provides a structured approach to building Rails UI components with Stimulus integration, enabling typed props, a declarative Ruby DSL, and first-class outlets for robust interactivity.
Core Features & Use Cases
- Typed props via Literal for components and easy prop validation.
- Declarative DSL (stimulus do) to declare controllers, actions, targets, values, and outlets that serialize to Stimulus data attributes.
- Supports both ViewComponent and Phlex rendering engines with SSR-friendly helpers and stable IDs.
- Outlets, values, params, classes, and responsive SSR inlining for initial paint.
- Caching and flexible root-element configuration for consistent rendering.
Quick Start
Install Vident, generate a component with the bundled generator, and wire Stimulus alongside your component.