{ "name": "sliced-text", "type": "registry:component", "dependencies": [ "motion" ], "files": [ { "type": "registry:component", "content": "\"use client\";\n\n/**\n * @author: @dorianbaffier\n * @description: Sliced Text\n * @version: 1.0.0\n * @date: 2025-06-26\n * @license: MIT\n * @website: https://kokonutui.com\n * @github: https://github.com/kokonut-labs/kokonutui\n */\n\nimport { motion } from \"motion/react\";\nimport { cn } from \"@/lib/utils\";\n\ninterface SlicedTextProps {\n text: string;\n className?: string;\n containerClassName?: string;\n splitSpacing?: number;\n}\n\nconst SlicedText: React.FC = ({\n text = \"Sliced Text\",\n className = \"\",\n containerClassName = \"\",\n splitSpacing = 2,\n}) => (\n \n \n {text}\n \n \n {text}\n \n\n
{text}
\n \n);\n\nexport default SlicedText;\n", "path": "/components/kokonutui/sliced-text.tsx", "target": "components/kokonutui/sliced-text.tsx" } ] }