An open source design system that's fully customizable and agent ready
TypeScript
// Copyright (c) Meta Platforms, Inc. and affiliates.
'use client';
import {Code} from '@astryxdesign/core/CodeBlock';
import {Text} from '@astryxdesign/core/Text';
import {VStack} from '@astryxdesign/core/Stack';
export default function CodeVariousContent() {
return (
<VStack gap={3}>
<Text type="body">
Variable: <Code>const count = 0</Code>
</Text>
<Text type="body">
Terminal: <Code>yarn build --watch</Code>
</Text>
<Text type="body">
CSS property: <Code>border-radius: 8px</Code>
</Text>
<Text type="body">
File path: <Code>packages/core/src/CodeBlock/Code.tsx</Code>
</Text>
<Text type="body">
Keyboard shortcut: <Code>Ctrl+Shift+P</Code>
</Text>
</VStack>
);
}