description: Nuxt Kit provides a set of utilities to help you work with auto-imports. These functions allow you to register your own utils, composables and Vue APIs.
Nuxt auto-imports helper functions, composables and Vue APIs to use across your application without explicitly importing them. Based on the directory structure, every Nuxt application can also use auto-imports for its own composables and plugins. With Nuxt Kit you can also add your own auto-imports. `addImports` and `addImportsDir` allow you to add imports to the Nuxt application. `addImportsSources` allows you to add listed imports from 3rd party packages to the Nuxt application.
These functions are designed for registering your own utils, composables and Vue APIs. For pages, components and plugins, please refer to the specific sections: [Pages](/docs/api/kit/pages), [Components](/docs/api/kit/components), [Plugins](/docs/api/kit/plugins).
::
Nuxt auto-imports helper functions, composables and Vue APIs to use across your application without explicitly importing them. Based on the directory structure, every Nuxt application can also use auto-imports for its own composables and plugins. Composables or plugins can use these functions.
## `addImports`
Add imports to the Nuxt application. It makes your imports available in the Nuxt application without the need to import them manually.
### Type
```ts
function addImports (imports: Import | Import[]): void
interface Import {
from: string
priority?: number
disabled?: boolean
meta?: {
description?: string
docsUrl?: string
[key: string]: any
}
type?: boolean
typeFrom?: string
name: string
as?: string
}
```
### Parameters
#### `imports`
**Type**: `Import | Import[]`
**Required**: `true`
An object or an array of objects with the following properties:
-`from` (required)
**Type**: `string`
Module specifier to import from.
-`priority` (optional)
**Type**: `number`
**Default**: `1`
Priority of the import, if multiple imports have the same name, the one with the highest priority will be used.
-`disabled` (optional)
**Type**: `boolean`
If this import is disabled.
-`meta` (optional)
**Type**: `object`
Metadata of the import.
-`meta.description` (optional)
**Type**: `string`
Short description of the import.
-`meta.docsUrl` (optional)
**Type**: `string`
URL to the documentation.
-`meta[key]` (optional)
**Type**: `any`
Additional metadata.
-`type` (optional)
**Type**: `boolean`
If this import is a pure type import.
-`typeFrom` (optional)
**Type**: `string`
Using this as the from when generating type declarations.
-`name` (required)
**Type**: `string`
Import name to be detected.
-`as` (optional)
**Type**: `string`
Import as this name.
### Examples
```ts
// https://github.com/pi0/storyblok-nuxt
import { defineNuxtModule, addImports, createResolver } from '@nuxt/kit'
Add imports from a directory to the Nuxt application. It will automatically import all files from the directory and make them available in the Nuxt application without the need to import them manually.