Skip to Content
šŸŽ‰Introducing Pumki UI
ComponentsTextText Highlight

Highlight Text Animation

A component that highlights text with a smooth animation effect, perfect for emphasizing important information.

Pumki UIPumki UI
Pumki UI

Installation

Usage


1import { HighlightText } from '@/components/pumki-ui/text/text-highlight';

1<HighlightText text="Pumki UI" />

Props

PropTypeDefaultDescription
transition?Transition{ duration: 2, ease: 'easeInOut' }Animation transition config
inViewOnce?booleantrueAnimate only once when in view
inViewMargin?string0pxMargin for in-view detection
inView?booleanfalseForce animation in view
className?string-Custom class name
textstring-Text to highlight
Last updated on