<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeveloperToolsSupport",
  "identifier" : "/documentation/DeveloperToolsSupport/LibraryItem/Category",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "DeveloperToolsSupport"
    ],
    "preciseIdentifier" : "s:21DeveloperToolsSupport11LibraryItemV8CategoryV"
  },
  "title" : "LibraryItem.Category"
}
-->

# LibraryItem.Category

The kinds of library items that you can create.

```
struct Category
```

## Overview

When you specify a category for a library item, Xcode can group it
with similar items in the library, making it easier for you to find.
Categories provide visual treatment in the Xcode Library, but the
treatment for each category depends on where the asset resides within
the library.

## Topics

### Specifying a Category

[`static let control: LibraryItem.Category`](/documentation/DeveloperToolsSupport/LibraryItem/Category/control)

A category for controls, like buttons and context menus.

[`static let effect: LibraryItem.Category`](/documentation/DeveloperToolsSupport/LibraryItem/Category/effect)

A category for effects, like opacity and saturation modifiers.

[`static let layout: LibraryItem.Category`](/documentation/DeveloperToolsSupport/LibraryItem/Category/layout)

A category for items that manage layout, like stack views and frame
modifiers.

[`static let other: LibraryItem.Category`](/documentation/DeveloperToolsSupport/LibraryItem/Category/other)

A general category.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)