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: 'Switch',
name: 'Switch — With Status',
displayName: 'Switch — With Status',
description:
'Switches with error, warning, and success validation states.',
isReady: true,
aspectRatio: 4 / 3,
componentsUsed: ['Switch', 'VStack', 'Center'],
};