TX-05Texts
Plucked Text
A headline sitting on a string you can pluck, strum and let ring, built with React and real string physics.
no extra packages
PROKinetic Type Hero and more like it are in Kokonut UI Pro
Installation
Plucked Text is a free, open-source React component in the Kokonut UI Texts collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/plucked-text.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/plucked-textUsage
import PluckedText from "@/components/kokonutui/plucked-text";
export default function Example() {
return <PluckedText />;
}Props
textstringDefault "Good vibrations"The line of text that sits on the string. Keep it to one line.
classNamestringExtra classes for the root element.
tensionnumberDefault 1How taut the string is. Higher rings faster and settles sooner.
strumbooleanDefault trueStrum the string when the cursor sweeps across it, not only on drag.
Dependencies
| Needs | Version | Comes from |
|---|---|---|
cn from lib/utils.ts | shadcn init | |
| React | 19 | Your app |
| Tailwind CSS | 4 | Your app |
No provider, font or global CSS to set up: the file works as soon as it lands.

