Skip to content
GaudiGaudi Design System home

Search documentation

Search every page, heading and paragraph.

Aside

Supporting article content outside the main reading flow.

MDX@gaudi/design-system/mdx/AsideView in StorybookSource

Installation

pnpm add github:ahmadassaf/design-system

Import from @gaudi/design-system. Load @gaudi/design-system/global.css once and add transpilePackages: ['@gaudi/design-system'] in Next.js.

import Aside from '@gaudi/design-system/mdx/Aside';

Usage

<Aside>  Additional context for the article that should sit outside the main argument.</Aside>

Examples

Playground

Storybook

API

2 props

Accessibility

Keep the aside understandable in document order and give distinct sections headings when needed.