An open source design system that's fully customizable and agent ready
TypeScript
// Copyright (c) Meta Platforms, Inc. and affiliates.
/** @type {import('@astryxdesign/cli/authoring').TemplateDoc} */
export const doc = {
type: 'block',
exampleFor: 'Item',
name: 'Item — Document Tabs',
displayName: 'Item — Document Tabs',
description:
'Single-row, horizontally scrollable document switcher with compact selected rows, leading file icons, instant reveal-on-hover close actions with reserved geometry, stable separators, and an add control outside the scroll area. Use for editor tabs, workspace tabs, open documents, files, canvases, or panels.',
isReady: true,
aspectRatio: 16 / 4,
componentsUsed: ['Item', 'Divider', 'Icon', 'IconButton', 'Layout'],
icons: {DocumentIcon: 'file', PlusIcon: 'add', XMarkIcon: 'close'},
};