<!--
{
  "availability" : [
    "iOS: 27.3.0 -",
    "iPadOS: 27.3.0 -",
    "macCatalyst: -",
    "macOS: 27.3.0 -",
    "tvOS: 27.3.0 -",
    "visionOS: 27.3.0 -",
    "watchOS: 27.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/EntitySnippetContentBuilder",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents27EntitySnippetContentBuilderO"
  },
  "title" : "EntitySnippetContentBuilder"
}
-->

# EntitySnippetContentBuilder

A result builder that assembles an entity’s snippet declarations.

```
@resultBuilder enum EntitySnippetContentBuilder<Entity> where Entity : AppEntity
```

## Overview

The builder backs the [`snippet`](/documentation/AppIntents/SnippetRepresentableEntity/snippet) property of a [`SnippetRepresentableEntity`](/documentation/AppIntents/SnippetRepresentableEntity) type.
For example, providing a [`CardSnippet`](/documentation/AppIntents/CardSnippet) instance to the `snippet` property implicitly applies this builder for that type.

## Topics

### Type Methods

[`static func buildBlock<C>(C) -> some EntitySnippetContent<Entity>`](/documentation/AppIntents/EntitySnippetContentBuilder/buildBlock(_:))

Creates a snippet from a single view declaration.

[`static func buildBlock<C1, C2>(C1, C2) -> some EntitySnippetContent<Entity>`](/documentation/AppIntents/EntitySnippetContentBuilder/buildBlock(_:_:))

Creates a snippet by combining two snippet declarations into a single representation.

[`static func buildExpression(some EntitySnippetContent<Entity>) -> some EntitySnippetContent<Entity>`](/documentation/AppIntents/EntitySnippetContentBuilder/buildExpression(_:))

---

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)