TidalUI

Case study section preview

Present a customer story with a quote, reported outcomes and supporting context.

pro · Marketing · section

When to use

Alternatives

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

Installation

npx shadcn@latest add @tidal-pro/case-study-section

Import components/ui/tidal.css, components/ui/case-study-section.css. Wrap installed components in tidal-scope.

Preview

Case study section component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/case-study-section.css";
import{TidalCaseStudySection}from"./components/ui/case-study-section";
export default()=><div className="tidal-scope"><TidalCaseStudySection organization={"value"} outcome={{title:"Demo",body:"value"}} problem={{title:"Demo",body:"value"}} quote={{text:"Demo",author:"value"}} title={"Demo"}/></div>;

API and props

TidalCaseStudySection.organization (required)
ReactNode

Required organization value accepted by this exported component.

TidalCaseStudySection.outcome (required)
{ title: ReactNode; body: ReactNode; }

Required outcome value accepted by this exported component.

TidalCaseStudySection.problem (required)
{ title: ReactNode; body: ReactNode; }

Required problem value accepted by this exported component.

TidalCaseStudySection.quote (required)
{ text: ReactNode; author: ReactNode; role?: ReactNode; }

Required quote value accepted by this exported component.

TidalCaseStudySection.title (required)
ReactNode

Required title value accepted by this exported component.

TidalCaseStudySection.action
TidalCaseStudyAction | undefined

Optional action value accepted by this exported component.

TidalCaseStudySection.description
ReactNode

Optional description value accepted by this exported component.

TidalCaseStudySection.evidence
ReactNode

Optional evidence value accepted by this exported component.

TidalCaseStudySection.headingLevel
"h2" | "h3" | "h4" | "h5" | undefined

Optional heading level value accepted by this exported component.

TidalCaseStudySection.labels
{ metrics?: string; evidence?: string; invalid?: string; } | undefined

Optional labels value accepted by this exported component.

TidalCaseStudySection.logo
ReactNode

Optional logo value accepted by this exported component.

TidalCaseStudySection.metrics
ReadonlyArray<TidalCaseStudyMetric> | undefined

Optional metrics value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas