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:
centerorcenter-center: Important confirmation dialogs, modalstop-right: Notifications, toast messagesbottom-center: Action sheets, cookie consenttop-center: Banners, announcementsbottom-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.