Position System

Grunfeld provides an intuitive position system that divides the screen into 9 sections. This allows you to place dialogs in exact positions.

Grid Layout#

The screen is divided into 9 regions as follows:

Position Usage Examples#

Use cases for each position:

  • center or center-center: Important confirmation dialogs, modals
  • top-right: Notifications, toast messages
  • bottom-center: Action sheets, cookie consent
  • top-center: Banners, announcements
  • bottom-right: Chat widget

Multiple Dialogs#

When displaying multiple dialogs simultaneously, dialogs in the same position stack according to z-index:

Each dialog is positioned independently, so you can display multiple dialogs in different regions simultaneously.

Position System - Dialog Placement Methods | ilokesto - React Library Collection