Component libraryTrust center
Trust center
ProOrganize consumer-owned trust documents, access requests, status notes, and updates in one searchable block.
npx shadcn@latest add @tidal-pro/trust-centerInstallation
Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.
Terminal
Import components/ui/tidal.css, components/ui/trust-center.css, components/ui/status-badge.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.
Usage
Complete example source · Dependency and asset manifest
Loading the complete example…
API & behavior
Requires a title, unique categories/documents, controlled query/category values, and change callbacks. Documents use a public native link, consumer-owned request action, or restricted state; empty public href values remain valid native destinations. Public/update links preserve native modifiers, downloads, targets, explicit aria-disabled=false, refs, and caller handlers; resolved disabled links cannot navigate or call the supplied handler. Request/category/reset buttons preserve caller-first prevention, native props and refs, normalize aria-disabled=true, and default to type=button. The controlled native search preserves caller-first onChange prevention while the component owns and defensively strips value/defaultValue/type/readOnly/availability/children markup fields. Category controls form a named group. A synchronous accepted request that removes its focused action restores focus to the same available request, another request, the persistent search input, or root without scrolling, while unrelated focus is preserved. Loading/error/empty, pending request ID, exact supplied status and update metadata, h2-h5 heading level, root/search/all-category/reset refs and native attributes, localized labels, zero-valued ReactNode metadata, RTL, reduced motion and forced colors are supported. Consumers own every document, category, status, date, update, destination, access outcome, request, authentication, authorization, hosting, monitoring and persistence. The component fetches nothing, stores nothing, sends no request, and makes no security or compliance claim.
Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.