Skip to content

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

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

/** @type {import('@astryxdesign/cli/authoring').TemplateDoc} */
export const doc = {
  type: 'block',
  exampleFor: 'useClickableContainer',
  name: 'useClickableContainer — Clickable Project Card',
  displayName: 'useClickableContainer — Clickable Project Card',
  description:
    'A project card that useClickableContainer makes clickable anywhere: a click on the card follows its title link, while the Star button, the owner link and a text selection keep their own behavior, and Ctrl/Cmd+click or middle-click opens the project in a new tab.',
  isReady: true,
  aspectRatio: 4 / 3,
  componentsUsed: ['Card', 'Button', 'Link', 'Text', 'Layout'],
};