Direction
Scopes text direction for Gaudi controls that need directional keyboard and placement behavior.
Installation
Import from @gaudi/design-system. Load @gaudi/design-system/global.css once and add transpilePackages: ['@gaudi/design-system'] in Next.js.
Usage
Examples
Playground
API
3 props
Accessibility
Set the same direction on the surrounding DOM so text flow and control behavior agree. Nested providers may override the inherited direction.
Related
AccordionRich disclosure for FAQs, settings, member directories, nested help, and guided setup. Eleven patterns use Gaudi tokens, icons, avatars, cards, and pills.12 examplesCarouselCarousel renders standard feature slides and editorial card rails.4 examplesResizableResizable panes with accessible separators and bounded panel sizes.2 examplesScrollAreaContained scrolling with themed scrollbars and optional smooth wheel motion for article reading.2 examplesSortableReorder lists and grids with drag handles, keyboard controls and cancellation.4 examples