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: 'TopNavMegaMenu',
name: 'TopNavMegaMenu — Basic',
displayName: 'TopNavMegaMenu — Basic',
description:
'A mega menu trigger inside a TopNav that opens a panel of rich link items. Use when a navigation section has multiple destinations worth describing.',
isReady: true,
aspectRatio: 16 / 9,
componentsUsed: [
'TopNav',
'TopNavHeading',
'TopNavItem',
'TopNavMegaMenu',
'TopNavMegaMenuItem',
],
icons: {BookOpenIcon: 'book', RocketLaunchIcon: 'rocket'},
};