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: 'ContextMenu',
name: 'ContextMenu — Bottom Sheet',
displayName: 'ContextMenu — Bottom Sheet',
description:
'A ContextMenu using the explicit BottomSheet presentation. Long-press the target on touch devices or right-click it with a pointer. Keep a visible menu trigger for important mobile actions.',
isReady: true,
aspectRatio: 4 / 3,
componentsUsed: ['ContextMenu'],
icons: {
DocumentDuplicateIcon: 'copy',
PencilIcon: 'edit',
ShareIcon: 'share',
TrashIcon: 'delete',
},
};