Blur Highlight

Animated paragraph with blur-in effect and automatic text highlighting

blur-highlight-tw
Our cutting-edge technology transforms how businesses analyze data and make decisions. From real-time insights to predictive analytics, we deliver solutions that drive growth and innovation.

Customize

Highlight

#FF9FFC
#7C3AED
0.4s
1s

Blur

8px
0.3
0s
0.8s

Viewport

Props

childrenReact.ReactNode

Text content to display

Default:-
highlightedBits(string | HighlightBit)[]

Array of text strings or objects to highlight. Use string for all occurrences, or { text: string, occurrence: number } for specific ones.

Default:[]
highlightColorstring

Color for highlighted text (any CSS color)

Default:"hsl(80, 100%, 50%)"
highlightClassNamestring

Additional class name for highlighted text elements

Default:""
blurAmountnumber

Initial blur amount in pixels

Default:8
inactiveOpacitynumber

Opacity when not in view

Default:0.3
blurDelaynumber

Blur animation delay in seconds

Default:0
blurDurationnumber

Blur animation duration in seconds

Default:0.8
highlightDelaynumber

Highlight animation delay in seconds

Default:0.4
highlightDurationnumber

Highlight animation duration in seconds

Default:1
highlightDirection"left" | "right" | "top" | "bottom"

Direction of highlight animation

Default:"left"
viewportOptions{ once?: boolean; amount?: number }

Viewport intersection observer options (margin is fixed at -20%)

Default:{ once: false, amount: 0.5 }
classNamestring

Additional CSS classes

Default:""