// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import { Layout, LayoutHeader, LayoutContent, LayoutFooter, HStack, VStack, } from '@astryxdesign/core/Layout'; import {Button} from '@astryxdesign/core/Button'; import {Heading, Text} from '@astryxdesign/core/Text'; import {useToast} from '@astryxdesign/core/Toast'; export default function LayoutContentWidth() { const showToast = useToast(); return ( Centered Form } content={ The contentWidth prop constrains content to a maximum width and centers it within the layout. Dividers remain full-bleed while content stays narrow and readable. Common widths: 640 for forms, 960 for content pages. } footer={ } /> ); }