# ViewsConfig

Configuration for saved views.

## Definition

```tsx
export interface ViewsConfig {
    /**
     * Unique ID for the list, used to persist custom views for the user.
     */
    listId: string;

    /**
     * Default list of views available to all users.
     */
    defaultViews: View[];

    /**
     * If true, allows the logged-in user to manage their own custom views.
     */
    allowToMangeCustomViews?: boolean;

    /**
     * ID of the default view to be selected.
     */
    defaultviewId?: string;
}
```

## Usage

```tsx
import { ViewsConfig } from 'uxp/components';
```

## Related Types

* [View](https://help.iviva.com/uxp/v5/additional-resources/types/view)
* [CustomViewConfigs](https://help.iviva.com/uxp/v5/additional-resources/types/customviewconfigs)
* [Filters](https://help.iviva.com/uxp/v5/additional-resources/types/filters)
* [SimpleFilter](https://help.iviva.com/uxp/v5/additional-resources/types/simplefilter)
* [Sort](https://help.iviva.com/uxp/v5/additional-resources/types/sort)
* [SortOrder](https://help.iviva.com/uxp/v5/additional-resources/types/sortorder)
