animui
ComponentsBlocksDocsPackageTry the demo
Introduction
Installation
Theming
Motion
AI guide
Changelog
Metrics dashboard
KPI drilldown
Metric explorer
Revenue explorer
MRR waterfall
Cohort retention
Usage forecast
Journey flow
Choropleth explorer
Connected scatter
Market terminal
Budget variance
Small multiples
Line replay
AI chat
AI composer
Agent run
AI side panel
SidebarPro4
Page header
Command palette
Notification center
Empty states
Search resultsPro
Login and sign up5
OTP input
Multi-step formPro
Settings page
Settings command
Security settings
Billing overview
Usage billing
Cancel flow
Team members
Invite people
Team directory
Roles and permissions
API keys
Webhooks
Integrations
Environment variables
Plan comparison
Pricing calculatorPro
Usage pricingPro
Cart drawerPro
Checkout summaryPro
Invoice studio
Wallet card
Product listing
Product detail
Inbox triage
Support conversation
Support widget
Help centerNew
File upload
Media playerPro
Week calendar
Availability picker
Project board
Release readiness
Kanban boardNew
Hero section
Hero signupPro
Scroll storyPro
Spotlight gridPro
Feature bentoPro
Comparison table
Logo marquee
Studio perspectivesPro
Stats band
Changelog feed
FAQ section
Contact section
Team showcasePro
Blog grid
Site header
Site footer
CTA section
Newsletter signup
Activity terrain
Revenue globe
Customer galaxy
Semantic zoom
Layout morph
What’s new8 new
BlocksComparison table

Comparison table

An us versus them table with a sticky header, a highlighted column, and a stacked phone view.

npm install https://animui.stracture.net/__local/package.tgz
Live block · sample data

When to use

  • Showing how your product stacks up against named alternatives.
  • Feature matrices with three to five columns and grouped rows.

When not to use

  • Use plan-comparison to compare your own pricing tiers.
  • Use a sortable data table for large datasets.

Installation

Install animui once, then import any component or block from its typed package entry.

animui · 250 components and blocks

React 19 and React DOM 19 are required. The package includes Free and Pro entries, styles and TypeScript declarations.

npm install https://animui.stracture.net/__local/package.tgz

Load the stylesheet once at your app root, then use the typed component import:

import 'animui/styles.css';
import { ComparisonTable } from 'animui/comparison-table';

Read the Code tab for the implementation files and the API reference below for required props.

Download animui 0.3.0 · Agent guide

Usage

Use this on a pricing or alternatives page. Describe your columns and feature rows in comparison-table-data.ts, mark your product with highlight, and point the cta at signup; stickyTop offsets the header under a fixed site header.

example.tsx
1import { ComparisonTable } from "animui/comparison-table";2 3export function Alternatives() {4  return (5    <ComparisonTable6      columns={[7        { id: "us", name: "Relay", caption: "$10 per seat", highlight: true },8        { id: "them", name: "Legacy suite", caption: "$24 per seat" },9      ]}10      sections={[{ id: "core", title: "Core", rows: [11        { id: "offline", feature: "Offline mode", values: { us: true, them: false } },12        { id: "sso", feature: "SSO", values: { us: true, them: { value: "partial", note: "Enterprise plan" } } },13      ] }]}14      cta={{ label: "Start free trial", href: "/signup" }}15      stickyTop={64}16    />17  );18}
Built fromSwitchButton

API reference

ComparisonTable

An us versus them table with sections, check, partial and not included marks, a tinted band behind your column, a sticky frosted header, a differences only switch, and a stacked two column view on phones.

PropTypeDefaultDescription
columnsComparisonColumn[]–Products to compare. Mark yours with highlight: true.
sectionsComparisonSection[]–Grouped feature rows. Values: true, false, "partial", a string, or { value, note }.
titlestring"How Relay compares"Section heading.
descriptionstring–Line under the heading.
differencesOnlyboolean–Hide rows where all visible columns match (controlled).
defaultDifferencesOnlybooleanfalseInitial switch state when uncontrolled.
onDifferencesOnlyChange(value: boolean) => void–Called when the switch flips.
compareWithstring–Competitor shown beside yours in the stacked phone view (controlled).
onCompareWithChange(id: string) => void–Called when a competitor is picked on phones.
cta{ label: string; href?: string; onClick?: () => void; doneLabel?: string }–Button at the foot of your column. doneLabel morphs in after a click.
stickyTopnumber0Offset for the sticky header, such as a fixed site header height.
maxHeightnumber | string–Caps the table height and scrolls it inside the block with the header pinned.
stackBelownumber640Block width below which the phone view takes over.
classNamestring–Extra class on the section.

Keyboard interactions

Tab
Moves to the differences switch, the phone competitor picker, and the call to action.
Space
Flips the differences switch.

Accessibility

  • Built with table, row, columnheader, rowheader and cell roles, so screen readers navigate it as a table.
  • Marks have text alternatives: Included, Partial (with its note), Not included.
  • The switch is a real checkbox with role switch; a polite live region says when rows are filtered.
  • Meaning never relies on color: checks, half circles and dashes differ in shape, with a legend.

Motion

  • Checks in your column draw in once, staggered down the table, when they scroll into view.
  • Differences only collapses matching rows on the smooth spring and closes the gap.
  • Picking a competitor on phones swaps its header and marks with a small pop.
  • The call to action morphs its label to the done state.
  • Reduced motion shows every mark at once and swaps collapses for instant changes.

Responsive behavior

  • Below 640px (stackBelow) it shows your column beside one competitor with a picker above.
  • Column widths are fractions, so it never scrolls sideways.

Performance

  • A width observer switches layouts; no per frame work while scrolling.
  • Row collapses animate height only on rows that change.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use this for a /compare or /alternatives page or under pricing.
  • Keep competitor names generic or factual; values should be verifiable.
  • Set stickyTop to your fixed header height; use maxHeight only when embedding the table in a panel.
/components/blocks/comparison-table/markdown

The full library index for assistants is at /llms.txt.

Related

Plan comparisonBlockCompare meaningful differences between plans and billing periods.Pricing calculatorProBlockA seat slider and billing toggle drive plan cards with rolling prices and a moving recommended badge.Usage pricingProBlockA pricing calculator that finds your plan as you drag seats and traffic.FAQ sectionBlockFAQs as an accordion, a topic rail, or a searchable list that highlights matches.
PreviousBlog gridNextFeature bento
animui · 84 block pagesllms.txt

On this page

  • Preview
  • When to use
  • When not to use
  • Installation
  • Usage
  • API reference
  • Keyboard
  • Accessibility
  • Motion
  • Responsive behavior
  • Performance
  • Notes for AI
  • Related
View as Markdown

How Relay compares

Everything a growing team needs, without the enterprise price or the spreadsheet sprawl.

Feature
Relay$10 per seat
Legacy suite$24 per seat
SpreadsheetsFree
Point tools$16 per seat
Planning
Projects
Unlimited
Up to 50
Unlimited
Up to 10
Timelines and roadmaps
Included
Included
Not included
PartialTimeline only
DependenciesBlocked work moves when its blocker does
Included
Included
Not included
Not included
Templates
Included
Included
PartialManual copies
Included
Collaboration
Real time editing
Included
Not included
Included
Included
Free guest access
Included
Not included
Included
PartialFive guests
Comments and mentions
Included
Included
Included
Included
Offline modeEdits sync when you reconnect
Included
Not included
PartialDesktop app only
Not included
Automation
Rules and triggers
Included
Included
Not included
PartialPaid add on
AI summaries
Included
Not included
Not included
Not included
Public API
Included
Included
Included
Included
Security
SAML single sign on
Included
Included
PartialEnterprise plan
Not included
Audit log
Included
Included
Not included
Not included
EU data residency
Included
PartialEnterprise plan
Included
Not included
IncludedPartialNot included

Showing all rows