---
title: Text Rotate
desc: Text Rotate can show up to 6 lines of text, one at a time, with a an infinite loop animation. Duration is 10 seconds by default. The animation will pause on hover.
source: https://raw.githubusercontent.com/saadeghi/daisyui/refs/heads/master/packages/daisyui/src/components/text-rotate.css
layout: components
classnames:
component:
- class: text-rotate
desc: Wrapper for texts
---
### ~Text Rotate
#### Rotates through 3 words, in 10 seconds
ONE
TWO
THREE
```html
ONE
TWO
THREE
```
### ~Rotating 6 words
#### Big font size, horizontally centered
DESIGN
DEVELOP
DEPLOY
SCALE
MAINTAIN
REPEAT
```html
DESIGN
DEVELOP
DEPLOY
SCALE
MAINTAIN
REPEAT
```
### ~Rotating words in a sentence
#### Different colors for each word
Providing AI Agents for
Designers
Developers
Managers
```html
Providing AI Agents for
Designers
Developers
Managers
```
### ~Rotating 3 words with custom duration
#### Big font size, horizontally centered, 6 seconds duration instead of 10 seconds
BLAZING
FAST ▶︎▶︎
```html
BLAZING
FAST ▶︎▶︎
```
### ~Custom line height
#### In case you have a tall font or need more vertical spacing between lines
📐 DESIGN
⌨️ DEVELOP
🌎 DEPLOY
🌱 SCALE
🔧 MAINTAIN
♻️ REPEAT
```html
📐 DESIGN
⌨️ DEVELOP
🌎 DEPLOY
🌱 SCALE
🔧 MAINTAIN
♻️ REPEAT
```