> ## Documentation Index
> Fetch the complete documentation index at: https://dotnetdocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PackagesConfig

> Represents third-party npm package configuration for MDX pages and snippets.

## Definition

**Assembly:** Mintlify.Core.dll

**Namespace:** Mintlify.Core.Models

## Syntax

```csharp theme={"dark"}
Mintlify.Core.Models.PackagesConfig
```

## Summary

Represents third-party npm package configuration for MDX pages and snippets.

## Remarks

Adding this object, even empty, turns on third-party libraries so MDX pages and
snippets can import components from packages in `package.json`. Requires a
`package-lock.json` or `pnpm-lock.yaml` file next to `docs.json`.
See [https://www.mintlify.com/docs/customize/third-party-libraries](https://www.mintlify.com/docs/customize/third-party-libraries).

## Constructors

### &#x20;.ctor

#### Syntax

```csharp theme={"dark"}
public PackagesConfig()
```

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public Object()
```

## Properties

### &#x20;Css

Gets or sets compiled CSS files that packages ship, as paths inside an installed package.

#### Syntax

```csharp theme={"dark"}
public System.Collections.Generic.List<string> Css { get; set; }
```

#### Property Value

Type: `System.Collections.Generic.List<string>?`

#### Remarks

Example: `@acme/ui/dist/styles.css`.

### &#x20;Provider

Gets or sets the path to a snippet that exports a Provider component.

#### Syntax

```csharp theme={"dark"}
public string Provider { get; set; }
```

#### Property Value

Type: `string?`

#### Remarks

The provider wraps each package component. Example: `/snippets/provider.jsx`.

### &#x20;Registries

Gets or sets the registry URL for each npm scope.

#### Syntax

```csharp theme={"dark"}
public System.Collections.Generic.Dictionary<string, string> Registries { get; set; }
```

#### Property Value

Type: `System.Collections.Generic.Dictionary<string, string>?`

#### Remarks

Example: `{ "@acme": "https://npm.acme.com/" }`.

### &#x20;Ssr

Gets or sets whether to render package components to HTML when deploying.

#### Syntax

```csharp theme={"dark"}
public bool? Ssr { get; set; }
```

#### Property Value

Type: `bool?`

#### Remarks

Defaults to true.

## Methods

### &#x20;Equals Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual bool Equals(object obj)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `obj` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;Equals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;GetHashCode Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### &#x20;GetType Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### &#x20;MemberwiseClone Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### &#x20;ReferenceEquals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;ToString Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual string ToString()
```

#### Returns

Type: `string?`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.