Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DavidHDev/react-bits
/ cn
Function
cn
src/tailwind/TextAnimations/RotatingText/RotatingText.jsx:6–8 ·
view source on GitHub ↗
(...classes)
Source
from the content-addressed store, hash-verified
4
import { motion, AnimatePresence } from
'motion/react'
;
5
6
function cn(...classes) {
7
return classes.filter(Boolean).join(
' '
);
8
}
9
10
const RotatingText = forwardRef((props, ref) => {
11
const {
Callers
1
RotatingText.jsx
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected