Side panel. Light-DOM children are the trigger.

<rl-drawer title="Details" description="More context for this row." placement="right" width="400"><rl-button variant="secondary">Open drawer</rl-button></rl-drawer>

Examples

Placement

Slide from the left at 480px wide.

<rl-drawer title="Details" description="More context for this row." placement="left" width="480"><rl-button variant="secondary">Open drawer</rl-button></rl-drawer>

API

PropTypeDefaultDescription
titlestringHeading.
descriptionstringBody.
placement"top" | "right" | "bottom" | "left""bottom"Edge the panel slides from (the slide direction).
widthnumber400Panel width in pixels when placement is left or right. Ignored for top and bottom.