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: 'Field',
name: 'Field — Required & Optional',
displayName: 'Field — Required & Optional',
description:
'Required and optional field indicators side by side. Use isRequired on fields the user must fill in, and isOptional to clarify which fields can be skipped.',
isReady: true,
aspectRatio: 16 / 9,
componentsUsed: ['TextInput', 'Layout', 'Text'],
};