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: 'ToggleButton',
name: 'ToggleButton — Label',
displayName: 'ToggleButton — Label',
description: 'Toggle buttons with visible text labels that show a font weight shift on press. Use when the icon alone is not enough to communicate the action.',
isReady: true,
aspectRatio: 16 / 9,
componentsUsed: [
'ToggleButton',
'ToggleButtonGroup',
'Layout',
'Text',
'Icon',
],
icons: {
EyeIcon: 'eye',
EyeSlashIcon: 'eyeSlash',
FunnelIcon: 'funnel',
MapPinIcon: 'location',
},
};