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 — Validation States',
displayName: 'Field — Validation States',
description:
'All three validation states: error, warning, and success. Use error for invalid input, warning for potential issues like reserved names, and success to confirm valid entries like API keys.',
isReady: true,
aspectRatio: 4 / 3,
componentsUsed: ['TextInput', 'Layout'],
};