TidalUI

Changelog block preview

A grouped product changelog with native dates, typed change records, controlled version filters, and controlled release details.

pro · Blocks · composite

When to use

Alternatives

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

Installation

npx shadcn@latest add @tidal-pro/changelog-block

Import components/ui/tidal.css, components/ui/changelog-block.css. Wrap installed components in tidal-scope.

Preview

Changelog block component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/changelog-block.css";
import{TidalChangelogBlock}from"./components/ui/changelog-block";
export default()=><div className="tidal-scope"><TidalChangelogBlock releases={[{id:"example",version:"value",title:"Demo",publishedAt:"value",dateLabel:"Demo",changes:[{id:"example",kind:"added",title:"Demo"}]}]} title={"Demo"}/></div>;

API and props

TidalChangelogBlock.releases (required)
ReadonlyArray<TidalChangelogRelease>

Required releases value accepted by this exported component.

TidalChangelogBlock.title (required)
ReactNode

Required title value accepted by this exported component.

TidalChangelogBlock.activeFilter
string | undefined

Optional active filter value accepted by this exported component.

TidalChangelogBlock.description
ReactNode

Optional description value accepted by this exported component.

TidalChangelogBlock.emptyMessage
ReactNode

Optional empty message value accepted by this exported component.

TidalChangelogBlock.expandedReleaseIds
ReadonlySet<string> | undefined

Optional expanded release ids value accepted by this exported component.

TidalChangelogBlock.eyebrow
ReactNode

Optional eyebrow value accepted by this exported component.

TidalChangelogBlock.filterLabel
string | undefined

Optional filter label value accepted by this exported component.

TidalChangelogBlock.filters
ReadonlyArray<TidalChangelogFilter> | undefined

Optional filters value accepted by this exported component.

TidalChangelogBlock.headerAction
ReactNode

Optional header action value accepted by this exported component.

TidalChangelogBlock.headingLevel
TidalChangelogHeadingLevel | undefined

Optional heading level value accepted by this exported component.

TidalChangelogBlock.labels
TidalChangelogLabels | undefined

Optional labels value accepted by this exported component.

TidalChangelogBlock.motionKey
string | number | undefined

Changes the finite entrance animation name without remounting controls.

TidalChangelogBlock.onExpandedChange
((releaseId: string, expanded: boolean) => void) | undefined

Callback invoked when the expanded change interaction is proposed.

TidalChangelogBlock.onFilterChange
((filterId: string) => void) | undefined

Callback invoked when the filter change interaction is proposed.

TidalChangelogBlock.releaseHeadingLevel
TidalChangelogReleaseHeadingLevel | undefined

Optional release heading level value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas