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: 'InternationalizationProvider',
name: 'InternationalizationProvider — RTL Direction',
displayName: 'Internationalization Provider — RTL Direction',
description:
'Toggle text direction with the `dir` prop and watch Astryx components mirror. Pagination flips its prev/next chevrons under RTL. The `dir` prop is passed to both `InternationalizationProvider` (so Astryx components pick it up) and the `VStack` (so the DOM subtree mirrors); both channels stay in sync with no extra wrapper.',
isReady: true,
aspectRatio: 16 / 9,
componentsUsed: [
'InternationalizationProvider',
'Pagination',
'SegmentedControl',
'Layout',
],
};