# @fluentui/dom-utilities

> DOM utilities for use within Fluent web components

Latest version **2.3.10** (published 2025-02-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @fluentui/dom-utilities
pnpm add @fluentui/dom-utilities
yarn add @fluentui/dom-utilities
bun add @fluentui/dom-utilities
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score; popular repo.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 2.3.10 |
| Published | 2025-02-21 |
| First published | 2020-09-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 153.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 20267 |
| Maintainers | chrisdholt, miroslavstastny, levithomason, uifabricteam, uifrnbot, dzearing, layershifter, ling1726, travisspomer, justslone, microsoft1es, sopranopillow |

## Links

- npm: https://www.npmjs.com/package/@fluentui/dom-utilities
- Repository: https://github.com/microsoft/fluentui
- Homepage: https://github.com/microsoft/fluentui#readme
- Issues: https://github.com/microsoft/fluentui/issues
- npm.io page: https://npm.io/package/@fluentui/dom-utilities

## Dependencies (2)

- [tslib](https://npm.io/package/tslib.md) ^2.1.0
- [@fluentui/set-version](https://npm.io/package/@fluentui/set-version.md) ^8.2.24

## Recent versions

- 2.3.10 (latest) — 2025-02-21
- 2.0.0-beta.2 (beta) — 2021-02-18
- 2.3.9 — 2024-10-11
- 2.3.8 — 2024-10-08
- 2.3.7 — 2024-06-24
- 2.3.6 — 2024-06-06
- 2.3.5 — 2024-05-28
- 2.3.4 — 2024-05-24
- 2.3.3 — 2024-05-23
- 2.3.2 — 2024-05-20
- 2.3.1 — 2024-04-24
- 2.3.0 — 2024-04-22
- 2.2.16 — 2024-04-12
- 2.2.15 — 2024-04-03
- 2.2.14 — 2024-01-10
- … 28 more at https://npm.io/package/@fluentui/dom-utilities/versions

## README

# @fluentui/dom-utilities

**DOM Utilities for use within [Fluent UI React](https://developer.microsoft.com/en-us/fluentui)**

This package contains extensions for traversing DOM within Fluent components, which should generally be used instead of the native equivalents.
Fluent supports the concept of 'layers', which leverage React 'Portals' to project popups and other overlay content over other content.
However, since this is not a native DOM concept, this library provides functionality to traverse the DOM in a way which reflects the hierarchy established by the projections.

---
_Source: https://npm.io/package/@fluentui/dom-utilities · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
