Skip to content

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

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

/** @type {import('@astryxdesign/cli/authoring').TemplateDoc} */
export const doc = {
  type: 'block',
  exampleFor: 'useGridFocus',
  name: 'useGridFocus — Color Swatch Grid',
  displayName: 'useGridFocus — Color Swatch Grid',
  description:
    'A color swatch picker in rows of eight with one Tab stop. useGridFocus moves focus with the arrow keys, Home and End, and Ctrl+Home and Ctrl+End. Each swatch is a button, so Enter or a click picks it.',
  isReady: true,
  aspectRatio: 4 / 3,
  componentsUsed: ['Card', 'Text', 'Layout'],
};