Typing Alert

An alert that types out its message.

Dependencies

framer-motion

Installation

npm install framer-motion

Props

NameTypeDefaultDescription
messagestring-The message to be typed out in the alert.
isOpenbooleanfalseControls the visibility of the alert.
onClosefunction-Function to call when the alert is closed.
typingSpeednumber50The speed of typing in milliseconds per character.
Brought to life by Naseem Ansari – Building Experiences that Inspire