Component libraryCitation list
Citation list
ProNumbered sources and inline references for answers, reports and research.
npx shadcn@latest add @tidal-pro/citation-listInstallation
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/citation-list.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
citations require unique DOM-safe ids, a positive reference number, title and source href. Each source preserves native link attributes/ref and optional description, metadata and return-reference target. TidalCitationReference renders a native superscript anchor to the exact source id and keeps native modified-click behavior. Optional title, description, empty state, headingLevel and native root attributes/ref. Duplicate source URLs remain separate numbered references; consumers own merging and citation accuracy. No source fetching, URL parsing, answer generation or navigation interception is added.
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.