An open source design system that's fully customizable and agent ready
TypeScript
// Copyright (c) Meta Platforms, Inc. and affiliates.
/** @type {import('@astryxdesign/cli/authoring').TemplateDoc} */
export const doc = {
type: 'block',
exampleFor: 'HoverCard',
name: 'HoverCard — Link Preview',
displayName: 'HoverCard — Link Preview',
description:
'Shows a page summary when hovering a link: title, description, and URL. Use for documentation links, article references, or any URL where a preview helps the user decide whether to click.',
isReady: true,
aspectRatio: 16 / 9,
componentsUsed: ['HoverCard', 'Icon', 'Layout', 'Link', 'Text'],
icons: {LinkIcon: 'link'},
};