An open source design system that's fully customizable and agent ready
TypeScript
// Copyright (c) Meta Platforms, Inc. and affiliates.
/** @type {import('@astryxdesign/cli/authoring').TemplateDoc} */
export const doc = {
type: 'block',
exampleFor: 'Center',
name: 'Center — Horizontal Center',
displayName: 'Center — Horizontal Center',
description:
'A formatting control group centered with axis="horizontal" in the default horizontal writing mode. In other writing modes, Center currently follows the flex main axis rather than guaranteeing physical horizontal centering.',
isReady: true,
aspectRatio: 16 / 9,
componentsUsed: ['Center', 'Card', 'Icon', 'IconButton', 'Layout'],
icons: {
BoldIcon: 'bold',
ItalicIcon: 'italic',
LinkIcon: 'link',
ListBulletIcon: 'list',
PhotoIcon: 'image',
UnderlineIcon: 'underline',
},
};