Text Rotate
Rotate through short messages with explicit playback controls.
Studio finishesSoft ivoryWarm sandGraphite
HTML
<div class="rl-text-cycle" data-rl-text-cycle><span>Studio finishes</span><strong data-cycle-item>Soft ivory</strong><strong data-cycle-item hidden>Warm sand</strong><strong data-cycle-item hidden>Graphite</strong><button type="button" class="rl-button rl-button-sm" data-cycle-next>Next finish</button><button type="button" class="rl-button rl-button-sm" data-cycle-play aria-pressed="false">Auto rotate</button></div>Use in your app
Copy these tags into your page head once. Serve the files at the paths shown, then add the example’s template to your page.
Page assets
<link rel="stylesheet" href="/mero.css">
<link rel="stylesheet" href="/mero-composition.css">
<script defer src="/mero.js"></script>
<script defer src="/mero-composition.js"></script>