TidalUI

Security section preview

Present supplied security controls, current documentation and contact actions in one section.

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/security-section

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

Preview

Security section component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/security-section.css";
import{TidalSecuritySection}from"./components/ui/security-section";
export default()=><div className="tidal-scope"><TidalSecuritySection controls={[{id:"example",title:"Demo",description:"Demo"}]} title={"Demo"}/></div>;

API and props

TidalSecuritySection.controls (required)
ReadonlyArray<TidalSecurityControl>

Required controls value accepted by this exported component.

TidalSecuritySection.title (required)
ReactNode

Required title value accepted by this exported component.

TidalSecuritySection.contact
TidalSecurityAction | undefined

Optional contact value accepted by this exported component.

TidalSecuritySection.description
ReactNode

Optional description value accepted by this exported component.

TidalSecuritySection.documents
ReadonlyArray<TidalSecurityDocument> | undefined

Optional documents value accepted by this exported component.

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

Optional heading level value accepted by this exported component.

TidalSecuritySection.labels
Partial<{ controls: string; documents: string; updated: string; empty: string; invalid: string; }> | undefined

Optional labels value accepted by this exported component.

TidalSecuritySection.note
ReactNode

Optional note value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas