// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import { Layout, LayoutHeader, LayoutContent, LayoutFooter, HStack, VStack, } from '@astryxdesign/core/Layout'; import {Card} from '@astryxdesign/core/Card'; import {Button} from '@astryxdesign/core/Button'; import {Heading, Text} from '@astryxdesign/core/Text'; import {useToast} from '@astryxdesign/core/Toast'; export default function LayoutBasicCardLayout() { const showToast = useToast(); return ( Card Title } content={ This is a basic card layout with a header, scrollable content area, and footer. The layout automatically handles padding and spacing between sections. When content exceeds the available height, the content area scrolls independently while the header and footer stay fixed in place. This pattern works well for modal dialogs, detail panels, and any card where the amount of content is unpredictable. The dividers between header, content, and footer provide clear visual boundaries between the fixed and scrollable regions. } footer={ } /> ); }