Skip to content
Navigation

RibbonTabs

Satin ribbons of different lengths hang from a brass rail, moving in a slow draught, each with its name running down the cloth. Press one: it falls to full length with a flutter and the sheet rolls down.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
tabs{ label, title, body, color? }[]—One ribbon per tab, 2 to 5. Labels must differ. Keep them short.
startnumber0Index of the tab open at the start.
labelstring"Sections"Name read out by screen readers.
classNamestring""Size. Everything inside scales with the width.