Slide-In Alert

An alert that slides in from the side of the screen.

Dependencies

framer-motion

Installation

npm install framer-motion

Props

NameTypeDefaultDescription
messagestring-The message to display in the slide-in alert.
isOpenbooleanfalseControls the visibility of the alert.
onClosefunction-Function to call when the alert is closed.
Brought to life by Naseem Ansari – Building Experiences that Inspire