Skip to content

Action: Cookie Banner starter block

Reference · Intermediate · Bootstrap 5

Present one decision or next action with a clear message and controls.

Present one decision or next action with a clear message and controls.

  • A page with Bootstrap 5 included. Load its JavaScript for collapse, dropdown, tab or dismiss interactions.

Present one decision or next action with a clear message and controls. This reference describes the inserted template. It contains static sample content and no App Connect data bindings or application event handlers.

Insert the block into a Bootstrap 5 page, then expand it in App Structure. Select the child whose content or styling you want to change; there is no separate block configuration form.

Part How to adapt it
HeadingsStart with the h2 reading “We use cookies to improve your experience”. Replace sample headings with your own content and keep their levels consistent with the surrounding page.
Responsive columnsThe template uses `col-md-auto`. A numeric span is a fraction of the 12-column row; a breakpoint-qualified span applies from that breakpoint upward. Change the column, then check both narrower and wider views.
LinksReview all 1 anchors. Replace placeholder # links and sample routes with working destinations; a sample /login or /signup path does not create that page.
Application buttonsThe sample includes 3 buttons without an application event binding. Native submit/reset behavior still applies when those types are used inside forms. Give icon-only buttons an accessible name and connect or remove actions users cannot yet complete.

The consent buttons have no handlers. This layout neither saves a choice nor controls scripts or cookies. Implement the chosen consent behavior and preference storage before using the buttons; changing the banner’s appearance alone has no effect on what the page loads.

Change the first heading from “We use cookies to improve your experience” to a title appropriate to your page, for example “Start your first project”. Preview the page at narrow and wide widths and confirm the text remains readable without clipping. Then replace the remaining sample content and verify every route or control you kept.

Use the starter-block guide for insertion and adaptation. For live records or user actions, connect the matching App Connect workflow after the static layout is readable.

You can identify the inserted parts, replace sample content and distinguish supplied Bootstrap behavior from application work still to implement.