Skip to content

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

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

/** @type {import('@astryxdesign/cli/authoring').TemplateDoc} */
export const doc = {
  type: 'block',
  exampleFor: 'createAnimator',
  name: 'createAnimator — Playing cards in plain JavaScript',
  displayName: 'createAnimator — Playing cards in plain JavaScript',
  description:
    'The playing card from the useAnimator example, built in plain JavaScript with createAnimator and pointer events: it follows a drag, springs back on a gentle release, flies off with momentum on a quick flick, and a button discards it from the keyboard. React only mounts it.',
  isReady: true,
  aspectRatio: 4 / 3,
  componentsUsed: [],
};