Skip to content

An open source design system that's fully customizable and agent ready

TypeScript
758 B
Raw Blame
// Copyright (c) Meta Platforms, Inc. and affiliates.

/** @type {import('@astryxdesign/cli/authoring').TemplateDoc} */
export const doc = {
  type: 'block',
  exampleFor: 'ChatSendButton',
  name: 'ChatSendButton — Custom Icon',
  displayName: 'ChatSendButton — Custom Icon',
  description: 'Send buttons with custom icons via sendIcon and stopIcon props. Use to match the personality of the chat experience: a paper airplane for messaging, sparkles for AI generation, or a check mark for confirmation flows.',
  isReady: true,
  aspectRatio: 16 / 9,
  componentsUsed: ['Chat', 'ChatSendButton', 'Icon', 'Layout', 'Text'],
  icons: {
    CheckIcon: 'check',
    PaperAirplaneIcon: 'send',
    SparklesIcon: 'sparkles',
    XCircleIcon: 'error',
  },
};