An open source design system that's fully customizable and agent ready
TypeScript
// Copyright (c) Meta Platforms, Inc. and affiliates.
'use client';
import {Center} from '@astryxdesign/core/Center';
import {Markdown} from '@astryxdesign/core/Markdown';
const content = [
'# Markdown Demo',
'',
'Renders **markdown** with *Astryx* styling.',
'',
'## Features',
'',
'- **Bold**, *italic*, `code`',
'- [Links](https://example.com)',
'',
'```typescript',
'interface User {name: string;}',
'```',
'',
'- [x] Parser',
'- [ ] Stories',
].join('\n');
export default function MarkdownRichContent() {
return (
<Center width="100%" style={{maxWidth: 450}}>
<Markdown>{content}</Markdown>
</Center>
);
}