Skip to content

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

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

/** @type {import('@astryxdesign/cli/authoring').TemplateDoc} */
export const doc = {
  type: 'block',
  exampleFor: 'useCombobox',
  name: 'useCombobox — Assign To Field',
  displayName: 'useCombobox — Assign To Field',
  description:
    'An "Assign to" TextInput and a list of Item rows, with the field, listbox and option props from useCombobox spread onto them: typing filters a list of teammates, ArrowUp and ArrowDown move the active option while focus stays in the input, Enter picks it and Escape closes the list.',
  isReady: true,
  aspectRatio: 4 / 3,
  componentsUsed: ['Card', 'TextInput', 'Item', 'Text', 'Layout'],
};