Rotating Words
Built for studiosteamsfounders that ship.
Rotating Words is a heading with a hole in the middle. Fixed text sits on either side, and the words in between cycle through a list you provide: Design for startups / agencies / everyone.
It earns its place in a hero when a business does several things and no single headline covers them. It is worth using once on a page and no more.
Writing the text
The heading is assembled from three fields, and only the middle one rotates.
- Beginning Text Content Text The fixed text before the rotating word.
- Dynamic Text Content Text The words to cycle through, separated by commas. Each entry can be a phrase, not just a single word. Keep them a similar length, or the line will visibly jump as it changes.
- Ending Text Content Text The fixed text after it, if any.
Settings
- Heading Tag Choice Which heading level the line uses. This matters for the page outline, so a hero headline should be an h1 and a section heading further down should not.
- Seconds Between Word Rotations Choice How long each word holds before the next.
- Text Color and Custom Font Size Override the typography the heading would otherwise inherit.
- Dynamic Text Font Family Choice Set the rotating words in a different face to the fixed text, which is how most of the demos make the effect read.
- Text Direction Choice For right-to-left languages.
- Element Animation and Element Animation Delay How the whole line arrives when it scrolls into view.
- Mobile Display Choice Whether the rotation continues on phones, or the first word is shown as static text.
Keep the longest word in mind
The line reflows around whichever word is currently showing. If one entry is much longer than the others, the surrounding text shifts every cycle. Either keep the lengths close, or put the rotating word at the end of the line where nothing follows it.