An open source design system that's fully customizable and agent ready
TypeScript
// Copyright (c) Meta Platforms, Inc. and affiliates.
'use client';
import {Dialog, DialogHeader} from '@astryxdesign/core/Dialog';
import {Layout, LayoutContent} from '@astryxdesign/core/Layout';
import {Text} from '@astryxdesign/core/Text';
// Remove isInline for production — dialogs should be modal.
export default function DialogShowcase() {
return (
<Dialog isOpen isInline onOpenChange={() => {}}>
<Layout
header={<DialogHeader title="Modal Title" onOpenChange={() => {}} />}
content={
<LayoutContent>
<Text type="body">Dialog content goes here.</Text>
</LayoutContent>
}
/>
</Dialog>
);
}