TidalUI

Feature comparison table preview

A semantic comparison section with consumer-owned columns, feature states, text values, and native column actions.

pro · Marketing · composite

When to use

Alternatives

Configure components.json and the @tidal-pro namespace before installing Pro components.

Installation

npx shadcn@latest add @tidal-pro/feature-comparison-table

Import components/ui/tidal.css, components/ui/feature-comparison-table.css. Wrap installed components in tidal-scope.

Preview

Feature comparison table component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/feature-comparison-table.css";
import{TidalFeatureComparisonTable}from"./components/ui/feature-comparison-table";
export default(p:Parameters<typeof TidalFeatureComparisonTable>[0])=><div className="tidal-scope"><TidalFeatureComparisonTable {...p}/></div>;

API and props

TidalFeatureComparisonTable.caption (required)
ReactNode

Required caption value accepted by this exported component.

TidalFeatureComparisonTable.columns (required)
ReadonlyArray<TidalComparisonColumn>

Required columns value accepted by this exported component.

TidalFeatureComparisonTable.features (required)
ReadonlyArray<TidalComparisonFeature>

Required features value accepted by this exported component.

TidalFeatureComparisonTable.title (required)
ReactNode

Required title value accepted by this exported component.

TidalFeatureComparisonTable.description
ReactNode

Optional description value accepted by this exported component.

TidalFeatureComparisonTable.emptyMessage
ReactNode

Optional empty message value accepted by this exported component.

TidalFeatureComparisonTable.eyebrow
ReactNode

Optional eyebrow value accepted by this exported component.

TidalFeatureComparisonTable.footer
ReactNode

Optional footer value accepted by this exported component.

TidalFeatureComparisonTable.headingLevel
"h2" | "h3" | "h4" | undefined

Optional heading level value accepted by this exported component.

TidalFeatureComparisonTable.labels
Partial<TidalFeatureComparisonLabels> | undefined

Optional labels value accepted by this exported component.

TidalFeatureComparisonTable.scrollProps
Omit<HTMLAttributes<HTMLDivElement>, "aria-label" | "children"> | undefined

Optional scroll props value accepted by this exported component.

TidalFeatureComparisonTable.scrollRef
Ref<HTMLDivElement> | undefined

Optional scroll ref value accepted by this exported component.

TidalFeatureComparisonTable.tableProps
Omit<TableHTMLAttributes<HTMLTableElement>, "children"> | undefined

Optional table props value accepted by this exported component.

TidalFeatureComparisonTable.tableRef
Ref<HTMLTableElement> | undefined

Optional table ref value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas