Skip to content

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

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

/** @type {import('@astryxdesign/cli/authoring').TemplateDoc} */
export const doc = {
  type: 'block',
  exampleFor: 'Center',
  name: 'Center — Vertical & Horizontal Center',
  displayName: 'Center — Vertical & Horizontal Center',
  description: 'An empty state with an icon, heading, and description centered both vertically and horizontally inside a card. This is the most common use of Center: placing content in the middle of a fixed-height area like a panel, card, or content region. The height prop defines the centering space.',
  isReady: true,
  aspectRatio: 4 / 3,
  componentsUsed: ['Center', 'Card', 'Icon', 'Layout', 'Text'],
  icons: {InboxIcon: 'inbox'},
};