### text-rotate
Text Rotate can show up to 6 lines of text, one at a time, with an infinite loop animation. Duration is 10 seconds by default. The animation will pause on hover.
[text-rotate docs](https://daisyui.com/components/text-rotate/)
#### Class Names:
- Component: `text-rotate`
#### Syntax
```html
Word 1
Word 2
Word 3
Word 4
Word 5
Word 6
```
Example:
Big font size, horizontally centered
```html
DESIGN
DEVELOP
DEPLOY
SCALE
MAINTAIN
REPEAT
```
Rotating words in a sentence, different colors for each word
```html
Providing AI Agents for
Designers
Developers
Managers
```
Custom line height in case you have a tall font or need more vertical spacing between lines
```html
DESIGN
DEVELOP
DEPLOY
SCALE
MAINTAIN
REPEAT
```
#### Rules
- `text-rotate` must have one span or div inside it that contains 2 to 6 spans/divs for each line of text
- Total duration of the loop is 10000 milliseconds by default
- You can set custom duration using `duration-{value}` utility class, where value is in milliseconds (e.g. `duration-12000` for 12 seconds)