A hand-drawn rocket illustration that ignites its engines and lifts off the pad on demand, with a reset back to rest.
Interaction Type
Click Launch to ignite the engines and lift off; Reset returns the rocket to the pad.
Props
Options you can pass to customize this component.
launchLabelLabel for the button that starts the launch sequence. Defaults to "Launch".
resetLabelLabel for the button that resets the rocket to the pad. Defaults to "Reset".
onLaunchCalled once the rocket leaves the pad, after the ignition delay.
onResetCalled when the reset button returns the rocket to the pad.
classNameExtra classes merged onto the root element.
Installation
How to use
import { RocketLaunchIllustration } from "@/components/illustration/rocket-launch"
export function Example() {
return <RocketLaunchIllustration />
}Source Code
Click the code icon in the top-right corner to view the source code.
License & Usage
// No code loaded.