BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/kokonut-ui/sliced-text

Sliced Text

kokonut-ui/sliced-text
FreeComponent

I haven't found any usage for that component, but i like it.

Live preview

live · rendered by the registry
Rendered by kokonut-ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://kokonutui.com/r/sliced-text.json

Source

/components/kokonutui/sliced-text.tsxkokonutui.com/r/sliced-text.json
1"use client";
2
3/**
4 * @author: @dorianbaffier
5 * @description: Sliced Text
6 * @version: 1.0.0
7 * @date: 2025-06-26
8 * @license: MIT
9 * @website: https://kokonutui.com
10 * @github: https://github.com/kokonut-labs/kokonutui
11 */
12
13import { motion } from "motion/react";
14import { cn } from "@/lib/utils";
15
16interface SlicedTextProps {
17 text: string;
18 className?: string;
19 containerClassName?: string;
20 splitSpacing?: number;
21}
22
23const SlicedText: React.FC<SlicedTextProps> = ({
24 text = "Sliced Text",
25 className = "",
26 containerClassName = "",
27 splitSpacing = 2,
28}) => (
29 <motion.div
30 className={cn(
31 "relative inline-block w-full text-center",
32 containerClassName
33 )}
34 initial="default"
35 whileHover="hover"
36 >
37 <motion.div
38 className={cn("absolute -ml-0.5 w-full text-4xl", className)}
39 transition={{ duration: 0.1 }}
40 variants={{
41 default: {
42 clipPath: "inset(0 0 50% 0)",
43 y: -splitSpacing / 2,
44 opacity: 1,
45 },
46 hover: {
47 clipPath: "inset(0 0 0 0)",
48 y: 0,
49 opacity: 0,
50 },
51 }}
52 >
53 {text}
54 </motion.div>
55 <motion.div
56 className={cn("absolute w-full text-4xl", className)}
57 transition={{ duration: 0.1 }}
58 variants={{
59 default: {
60 clipPath: "inset(50% 0 0 0)",
61 y: splitSpacing / 2,
62 opacity: 1,
63 },
64 hover: {
65 clipPath: "inset(0 0 0 0)",
66 y: 0,
67 opacity: 1,
68 },
69 }}
70 >
71 {text}
72 </motion.div>
73
74 <div className={cn("invisible text-4xl", className)}>{text}</div>
75 </motion.div>
76);
77
78export default SlicedText;

What it pulls in

npm packages

  • motion

Files it writes

  • components/kokonutui/sliced-text.tsx

Facts

Registry
kokonut-ui
Type
registry:component
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-12
Last confirmed
today

Go to the source

Docs on kokonut-ui kokonutui.com kokonut-labs/kokonutui on GitHub Raw registry item This item as JSON

More from kokonut-ui

All 40 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Action Search Baraction-search-barkokonut-uiComponentsFree2 deps · 2 files
AI Input Searchai-input-searchkokonut-uiComponentsFree1 dep · 2 files
AI State Loadingai-loadingkokonut-uiComponentsFree1 dep
AI Input Selectorai-promptkokonut-uiComponentsFree2 deps · 4 files
AI Text Loadingai-text-loadingkokonut-uiComponentsFree1 dep
AI Voiceai-voicekokonut-uiComponentsFree2 deps
Apple Activity Cardapple-activity-cardkokonut-uiComponentsFree1 dep
Magnet Buttonattract-buttonkokonut-uiComponentsFree2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex