import { Meta } from '@storybook/addon-docs/blocks'

<Meta title='@dxtmisha/en/nitro-basic/Functions/uiId - Global ID Generator'/>

# `uiId`

Initializes the global unique identifier generation function for elements. It uses Vue's built-in `useId` mechanism if called within a component, otherwise it generates an incremental ID with the `ui-` prefix.

```typescript
import { uiId } from '@dxtmisha/nitro-basic'

uiId()
```
