RetailysUI

Feedback & Overlays

Modals, slideout panels, and notification dropdowns for presenting contextual information, forms, and alerts.

Slideout Menu

Slideout panels slide in from the right edge. Uses DialogTrigger pattern with SlideoutMenu.Trigger.

Basic Slideout

Upload Slideout

PropTypeDefaultDescription
SlideoutMenu.TriggerComponent-DialogTrigger wrapper -- contains both the trigger button AND the SlideoutMenu
SlideoutMenuComponent-Panel container. Children receive render props: { close }
SlideoutMenu.HeaderComponent-Header with onClose callback for close button
SlideoutMenu.ContentComponent-Scrollable content area
SlideoutMenu.FooterComponent-Fixed footer for actions
dialogClassNamestring-Custom class for the dialog element

Notification Dropdown

A custom dropdown component showing notification items with unread indicators. Built with the Dropdown compound component.

Live Example

Click the bell icon to open notifications:

Pattern Description

Implementation Pattern

  • Uses Dropdown.Root with a custom AriaButton trigger (Bell icon)
  • Dropdown.Popover with fixed width (w-80)
  • Custom header with "Mark all as read" action
  • Dropdown.Menu with Dropdown.Item using unstyled prop for custom layout
  • Unread indicator dot using absolute positioning