Corepine logo Corepine Modal
Login
Modal v0.1x latest

Corepine Modal

Corepine Modal is a stack-based modal system for Laravel Livewire.

Corepine Modal centered dialog exampleCorepine Modal centered dialog example

If you are new to modal systems, think of it this way: you open small focused UI panels on top of your current page, complete a task, then close them without leaving the page.

Corepine Modal gives you two runtime paths:

  • Livewire stack mode for class-based modal components, model arguments, and child modal flows.
  • Standalone Blade mode for simple dialogs, drawers, or sheets when you do not need a Livewire modal class.

What You Get

Which Type Should You Choose?

  • Use modal for confirmations, short forms, and focused tasks.
  • Use drawer for contextual editing when users should still feel connected to the page underneath.
  • Use sheet for mobile-first interactions and quick actions near the bottom of the screen.

Full guide: Types & Placements

Start Here

Choose a Path

Build flows

Choose the right panel type and tune how it opens.

Types & Placements Open / Close APIs Modal Attributes
Customize UI

Shape headers, footers, Blade markup, and component structure.

Layout Standalone Blade Modal Blade Components
Package authors

Keep modal integrations configurable across different host apps.

Events Configuration Declarative Actions
Safety

Keep protected actions explicit and control stacked visibility.

Security Isolate

For Package Authors

If your package may run inside many apps, avoid hardcoded event strings. Use the facade event resolver from Events.