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: 'Button',
name: 'Button — Icon',
displayName: 'Button — Icon',
description: 'Buttons with a leading icon that reinforces the label. Use when the icon helps the user identify the action faster, like a plus for "New" or a trash can for "Delete".',
isReady: true,
aspectRatio: 16 / 9,
componentsUsed: ['Button', 'Icon', 'Layout'],
icons: {
ArrowDownTrayIcon: 'download',
PencilSquareIcon: 'compose',
PlusIcon: 'add',
TrashIcon: 'delete',
},
};