Playful handwritten callout component with a smooth curving SVG sketch arrow, configurable directions (top/bottom with left/right mirrors), and hover bounce animation.
| Prop | Type | Default | Description |
|---|---|---|---|
text | React.ReactNode | "Give a Star" | Text content displayed in handwritten Caveat font. |
arrowDirection | "up-right" | "down-right" | "up-left" | "down-left" | "up-right" | Direction the curved sketch arrow points towards. |
arrowPosition | "top" | "bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left" | "top" | Placement of the arrow on top or bottom of the text. |
arrowSize | number | 32 | Bounding box size in pixels for the SVG arrow. |
animate | boolean | true | Whether the arrow performs a subtle spring hover translation towards the arrowhead. |
textClassName | string | "" | Additional CSS classes applied to the text element. |
arrowClassName | string | "" | Additional CSS classes applied to the arrow SVG element. |
className | string | "" | Additional CSS classes applied to the root container. |