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: 'useScrollLock',
name: 'useScrollLock — Full-screen Mobile Menu',
displayName: 'useScrollLock — Full-screen Mobile Menu',
description:
'A custom full-screen menu opened from a Menu button. useScrollLock pins the page behind it while it is open, so the page does not scroll or shift sideways, and closing the menu returns the reader to the same scroll position.',
isReady: true,
aspectRatio: 4 / 3,
componentsUsed: ['Button', 'Link', 'Layout'],
};