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: 'TopNav',
name: 'TopNav — Mega Menu',
displayName: 'TopNav — Mega Menu',
description:
'Marketing-style navigation with a full-width mega menu featuring product items and a promotional featured card.',
isReady: true,
aspectRatio: 16 / 9,
componentsUsed: ['TopNav', 'TopNavMegaMenu', 'NavIcon', 'Button'],
icons: {
BoltIcon: 'bolt',
ChartBarIcon: 'chart',
CodeBracketIcon: 'code',
CubeIcon: 'package',
GlobeAltIcon: 'globe',
ShieldCheckIcon: 'shield',
},
};