True Focus(030)

Camera viewfinder crosshair brackets locking onto active words with spring transitions.

HoverScroll
Requires:motion
Loading…

Installation

$npx kibo add true-focus

Usage

1import { TrueFocus } from "@/components/kibo/true-focus/component";
2
3export default function Example() {
4 return (
5 <TrueFocus />
6 );
7}

Props Reference

PropTypeDefaultDescription
sentencestring'True Focus'Controls the sentence for the component animation.
separatorstring' 'Controls the separator for the component animation.
manualModebooleanfalseControls the manual mode for the component animation.
blurAmountnumber5Controls the blur amount for the component animation.
borderColorstring'green'Controls the border color for the component animation.
glowColorstring'rgba(0, 255, 0, 0.6)'Controls the glow color for the component animation.
animationDurationnumber0.5Controls the animation duration for the component animation.
pauseBetweenAnimationsnumber1Controls the pause between animations for the component animation.
fontSizestring'text-2xl sm:text-3xl md:text-4xl font-black text-white'Font size in pixels, rems, or fluid clamp notation.