Skip to content

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

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

/** @type {import('@astryxdesign/cli/authoring').TemplateDoc} */
export const doc = {
  type: 'block',
  exampleFor: 'useContainerReveal',
  name: 'useContainerReveal — Reveal-on-hover Row Actions',
  displayName: 'useContainerReveal — Reveal-on-hover Row Actions',
  description:
    'File rows keep their edit/delete actions hidden at rest and reveal them on hover or keyboard focus via useContainerReveal; the actions stay mounted and in the tab order.',
  isReady: true,
  aspectRatio: 16 / 9,
  componentsUsed: ['Item', 'Button', 'Icon', 'Card', 'Text', 'Layout'],
  icons: {PencilIcon: 'edit', TrashIcon: 'delete'},
};