VISUALLIdesign system

Understanding

SemanticAnchor

An underlined term inside a peek (or a Go deeper facet) and its definition card — the next level of detail for one word.

Playground

Change the props, switch theme in the header, try Tablet and Phone widths, then copy the code.

Playground · Hover, click or Tab + Enter the term.

Examples

Live previewOpen ↗

Props

export interface SemanticAnchorProps {
  word: string;
  children?: ReactNode;
  description: ReactNode;
  knowMoreUrl?: string | null;
  color?: NodeColor;
  onGoDeeper?: () => void;
  onActivate?: () => void
}

Use

import { SemanticAnchor } from '@visualli/design-system/components';

Source: components/src/ · Guidelines: components/catalog/SemanticAnchor/README.md