TidalUI

Directory footer preview

Search a site directory and expand navigation groups.

free · Blocks · section

When to use

Alternatives

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

Installation

npx shadcn@latest add https://tidalui.com/r/footer-directory.json

Import components/ui/tidal.css, components/ui/footer-directory.css. Wrap installed components in tidal-scope.

Preview

Directory footer component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/footer-directory.css";
import{TidalFooterDirectory}from"./components/ui/footer-directory";
export default()=><div className="tidal-scope"><TidalFooterDirectory brand={"value"} groups={[{id:"example",title:"Demo",links:[{id:"example",href:"#",label:"Demo"}]}]} title={"Demo"}/></div>;

API and props

TidalFooterDirectory.brand (required)
ReactNode

Required brand value accepted by this exported component.

TidalFooterDirectory.groups (required)
ReadonlyArray<TidalFooterDirectoryGroup>

Required groups value accepted by this exported component.

TidalFooterDirectory.title (required)
ReactNode

Required title value accepted by this exported component.

TidalFooterDirectory.defaultOpenGroupIds
ReadonlyArray<string> | undefined

Optional default open group ids value accepted by this exported component.

TidalFooterDirectory.description
ReactNode

Optional description value accepted by this exported component.

TidalFooterDirectory.eyebrow
ReactNode

Optional eyebrow value accepted by this exported component.

TidalFooterDirectory.headingLevel
TidalFooterDirectoryHeadingLevel | undefined

Optional heading level value accepted by this exported component.

TidalFooterDirectory.legal
ReactNode

Optional legal value accepted by this exported component.

TidalFooterDirectory.navigationLabel
string | undefined

Optional navigation label value accepted by this exported component.

TidalFooterDirectory.noResultsLabel
ReactNode

Optional no results label value accepted by this exported component.

TidalFooterDirectory.onGroupToggle
((groupId: string, open: boolean) => void) | undefined

Callback invoked when the group toggle interaction is proposed.

TidalFooterDirectory.openGroupIds
ReadonlyArray<string> | undefined

Optional open group ids value accepted by this exported component.

TidalFooterDirectory.searchInputProps
TidalFooterDirectorySearchProps | undefined

Optional search input props value accepted by this exported component.

TidalFooterDirectory.status
ReactNode

Optional status value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas