Skip to content

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

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

/** @type {import('@astryxdesign/cli/authoring').TemplateDoc} */
export const doc = {
  type: 'block',
  exampleFor: 'BottomSheet',
  name: 'Bottom Sheet — Snap points',
  displayName: 'Bottom Sheet — Snap points',
  description:
    'Drag-to-resize stops: a half-height working surface, and a peek that slides away and thins the scrim.',
  isReady: true,
  aspectRatio: 3 / 4,
  componentsUsed: [
    'BottomSheet',
    'Button',
    'Divider',
    'Heading',
    'Icon',
    'Item',
    'Stack',
    'Text',
  ],
  icons: {
    ArrowLeftIcon: 'arrowLeft',
    ArrowRightIcon: 'arrowRight',
    ArrowUpIcon: 'arrowUp',
    ArrowUturnLeftIcon: 'undo',
    FlagIcon: 'flag',
    MapPinIcon: 'location',
  },
};