Overlays like dialogs, drawers, and bottom sheets are powerful UI components, but they need to follow certain practices to be identified correctly during import.
Requirements for dialogs, drawers, and bottom sheets
When designing these components, make sure to include three essential elements:
Overlay component requirements
Common issues occur when overlays do not cover the screen fully, or when dialog edges extend beyond the screen bounds.
Following the practices below ensures your overlay components are detected correctly.
Correctly designed overlays ensure dialogs, drawers, and bottom sheets are imported as functional components.
This avoids detection issues and keeps your layouts consistent.
Need help? We’re here for you.
Email us at support@rocket.new or join our Discord community to get help, share ideas, and connect with other creators.