# useId

Uses React 18's built-in `useId(){:js}` when available, or falls
back to a slightly less performant (requiring a double render)
implementation for earlier React versions.

```js
import {useId} from '@floating-ui/react';
```

## Usage

This hook is a utility hook.

```js
function App() {
  const id = useId();
}
```
