.finally(React)

English
Copyright © 2023-currentdotfinally, LLC

Slideout

A side panel overlay to display additional information

The Card component can be used by importing { Slideout } from "finallyreact". Its children elements will be the main content of the card, with an optional header component.

Example

Slideout Title
Slideout Text
Example

Header Styles

Header Styles
Slideout Text
Header Styles

Custom Header

Slideout Text
Custom Header

Custom Content

Slideout Title

Custom content

Custom Content

Custom Footer

Slideout Title

Custom content

Custom Footer

Prevent Outside Click

Slideout Title

preventOutsideClick

Prevent Outside Click

Size

Slideout Title

Small Slideout

Slideout Title

Medium Slideout

Slideout Title

Large Slideout

Size

Simple

Slideout Title
Slideout Text
Simple

Slideout Props

Prop NameProp TypeDescription
cardPropsHTMLAttributesProps for the slideout card
closePropsHTMLAttributesProps for the close button
contentPropsHTMLAttributesProps for the slideout content
customFooterReact.ReactNodeCustom footer for the slideout
customHeaderReact.ReactNodeCustom header for the slideout
headerPropsHTMLAttributesProps for the slideout header
onClose() => voidCallback for closing the slideout
overlayPropsHTMLAttributesProps for the slideout overlay
preventOutsideClickbooleanPrevents closing the slideout by clicking outside
showbooleanWhether the slideout is shown
simplebooleanRenders a simple slideout
size'sm' | 'md' | 'lg'Size of the slideout
textstringText content for the slideout
titlestringTitle for the slideout