Skip to content
Website Sections

ComparisonSection

A real comparison table with one lit column. Rows pour in and ticks draw themselves, a switch folds away the rows that match, and narrow screens pick one rival with chips.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
plansComparisonPlan[]โ€”Each has name, plus optional note, href and cta. href and cta together make the button at the foot of the column.
rowsComparisonRow[]โ€”Each has label and values, plus optional note. One value per plan: true, false or a short text.
titlestringโ€”Heading above the table.
featurednumber0Which plan gets the lit column, counted from 0.
eyebrowstringโ€”Small line above the title.
subtitlestringโ€”Line under the title.
childrenReactNodeโ€”Goes under the table: a link or a button.
labelsobjectEnglishEvery word in the section. Give only the ones to change.
colorstring"#a78bfa"Colour of the lit column.
inkstring"#0b0a14"Text colour on that colour.
headingAsElementType"h2"Heading tag.
classNamestring"bg-[#0b0a14] px-5 py-16 text-white"Set padding and colours here.