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 — States',
displayName: 'ToggleButton — States',
description: 'Default, pressed, disabled, and loading states of a standalone toggle button. Shows how visual treatment changes across states.',
isReady: true,
aspectRatio: 16 / 9,
componentsUsed: ['ToggleButton', 'Layout', 'Text', 'Icon'],
icons: {StarIcon: 'star'},
};