// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import type {CSSProperties} from 'react'; import {HoverCard} from '@astryxdesign/core/HoverCard'; import {VStack} from '@astryxdesign/core/Layout'; import {Text} from '@astryxdesign/core/Text'; const content: CSSProperties = {maxWidth: 200}; export default function HoverCardInlineTextHoverCard() { return ( The component uses a{' '} Focus trap A pattern that keeps keyboard focus inside a container, preventing it from moving to elements outside. Used in dialogs and modals to ensure accessibility. } placement="above"> focus trap {' '} to keep keyboard navigation inside the{' '} Modal dialog An overlay that blocks interaction with the rest of the page until the user responds. Uses the native HTML dialog element for built-in accessibility and backdrop support. } placement="above"> modal dialog . ); }