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: 'Avatar',
name: 'Avatar — Interactive',
displayName: 'Avatar — Interactive',
description: 'Make an avatar interactive by passing `href` to render it as a link or `onClick` to render it as a button. Both forms are focusable and show a focus-visible ring for keyboard users. Use for profile links, mention pop-ups, or any avatar people can act on.',
isReady: true,
aspectRatio: 16 / 9,
componentsUsed: ['Avatar', 'Layout', 'Text'],
};