Texto circular
NuevoMITTexto en círculo que gira lentamente, como un sello.
BASTARD • STUDIO • HECHO A MANO •
Ajústalo
20
5
Instalación
Terminal
npx shadcn@latest add https://<tu-dominio>/r/texto-circular.json
Crea components/bastard/CircularText.tsx. Más opciones
Uso
Demo.tsx
1import CircularText from '@/components/bastard/CircularText';23export default function Demo() {4 return (5 <CircularText6 text="BASTARD • STUDIO • HECHO A MANO • "7 spinDuration={20}8 radius={5}9 />10 );11}
Props
| Prop | Tipo | Por defecto | Descripción |
|---|---|---|---|
| text | string | "BASTARD • STUDIO • HECHO A MANO • " | Texto |
| spinDuration | number | 20 | Vuelta (s) |
| radius | number | 5 | Radio |
Aquí aparecen las props ajustables. El componente acepta más: revisa el código fuente.
Créditos
Basado en Circular Text · Animata, adaptado para BSTRD UI.Licencia: MIT. Puedes usarlo, modificarlo y venderlo, conservando el aviso de copyright que va dentro del archivo.