Modal onload
Bootstrap 5 Modal onload component
Responsive Modal onload built with Bootstrap 5. A simple way to modal that appears when the page is loaded. It will work great e.g. as Cookie Consent.
Basic example
To make the modal appear immediately after loading the page, just remove the redundant button
and add the corresponding JS function.
Open the demo to see an example.