Feature request: chained modals

A feature to chain modals would be very cool. Then you can build various types of flows with prev and next options.

For example.

Built in to CS with some kind of visual flow manager.

This does seem like a very use case element. Maybe even a slider within a modal as a component. Or a step form. I will have to think about that and get back to you.

Thanks for giving it some thought.

The main use case I’m thinking of is sequential/related content where you want a clean next / previous flow between modals (or a multi-step process) without the second modal opening behind the first, or having to manually close the previous one.

A slider inside a modal or a step form can cover some of those cases, but they feel like workarounds when the content is naturally separate pieces rather than slides in one continuous panel. Being able to open Modal B from inside Modal A (and have A close cleanly, or stack properly with focus management) would be much more flexible.

Just wanted to clarify the intent in case it helps when you’re thinking it through. Not every site will use this but if you’re building something app-like, having this capability makes it easy to build multi-step onboarding flows or setup flows to name some examples.