TidalUI

Project grid preview

A controlled responsive project directory with progress, owners, status, native destinations and optional search and status controls.

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/project-grid

Import components/ui/tidal.css, components/ui/project-grid.css. Wrap installed components in tidal-scope.

Preview

Project grid component preview

Open interactive preview

Minimal example

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

API and props

TidalProjectGrid.projects (required)
ReadonlyArray<TidalProject>

Required projects value accepted by this exported component.

TidalProjectGrid.title (required)
ReactNode

Required title value accepted by this exported component.

TidalProjectGrid.countLabel
((count: number) => string) | undefined

Optional count label value accepted by this exported component.

TidalProjectGrid.description
ReactNode

Optional description value accepted by this exported component.

TidalProjectGrid.emptyMessage
ReactNode

Optional empty message value accepted by this exported component.

TidalProjectGrid.eyebrow
ReactNode

Optional eyebrow value accepted by this exported component.

TidalProjectGrid.footer
ReactNode

Optional footer value accepted by this exported component.

TidalProjectGrid.headerAction
TidalProjectAction | undefined

Optional header action value accepted by this exported component.

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

Optional heading level value accepted by this exported component.

TidalProjectGrid.maxVisibleOwners
number | undefined

Optional max visible owners value accepted by this exported component.

TidalProjectGrid.ownersLabel
((project: TidalProject) => string) | undefined

Optional owners label value accepted by this exported component.

TidalProjectGrid.projectActionsLabel
((project: TidalProject) => string) | undefined

Optional project actions label value accepted by this exported component.

TidalProjectGrid.projectHeadingLevel
"h3" | "h4" | "h5" | undefined

Optional project heading level value accepted by this exported component.

TidalProjectGrid.projectsLabel
string | undefined

Optional projects label value accepted by this exported component.

TidalProjectGrid.remainingOwnersLabel
((count: number, project: TidalProject) => string) | undefined

Optional remaining owners label value accepted by this exported component.

TidalProjectGrid.search
TidalProjectSearchControl | undefined

Optional search value accepted by this exported component.

TidalProjectGrid.shownLabel
ReactNode

Optional shown label value accepted by this exported component.

TidalProjectGrid.statusFilter
TidalProjectStatusControl | undefined

Optional status filter value accepted by this exported component.

TidalProjectGrid.toolbarLabel
string | undefined

Optional toolbar label value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas