Tree
Browse hierarchical content with expansion, selection, checkboxes and drag feedback.
Installation
Import from @gaudi/design-system. Load @gaudi/design-system/global.css once and add transpilePackages: ['@gaudi/design-system'] in Next.js.
Copy an example into your project with the shadcn CLI: npx shadcn@latest add https://design.gaudi.site/r/tree-display-options.json.
Usage
Examples
Display options
Organization chart
Permission checkboxes
API
7 props
Accessibility
Headless Tree supplies hierarchical keyboard navigation. Keep node names stable and announce loading or failed child fetches.
Related
AvatarProfile images, resilient initials, presence, verification, account menus and collaborator groups. The existing Avatar API and curated patterns share the same image and fallback primitives.10 examplesFieldField composes form label, description, error, and input building blocks.7 examplesSwitchSwitch renders a token-styled boolean preference control.4 examplesCheckboxCheckbox renders a token-styled binary control.6 examples