Slideout

Side panel that slides in over the main content. Use for detail views, filters, and edit forms.

import{ Slideout } from "@pepulux/ui"

Default

Props

PropTypeDefaultDescription
isOpen*booleanControls slideout visibility
onClose() => voidCalled when backdrop is clicked
onSave() => voidCalled when Save button is clicked
onCancel() => voidCalled when Cancel button is clicked
titlestringPanel header title
descriptionstringSub-text below the title
saveLabelstring"Save"Save button label
cancelLabelstring"Cancel"Cancel button label
childrenReactNodePanel body content