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: 'TopNavItem',
name: 'TopNavItem — Basic',
displayName: 'TopNavItem — Basic',
description:
'Navigation links inside a TopNav with one item marked as selected. Use for top-level pages of an application.',
isReady: true,
aspectRatio: 3,
componentsUsed: ['TopNav', 'TopNavHeading', 'TopNavItem'],
};