<!--
{
  "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/CardSnippetFamily",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "App Intents",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:19_AppIntents_SwiftUI17CardSnippetFamilyV"
  },
  "title" : "CardSnippetFamily"
}
-->

# CardSnippetFamily

A type that defines the supported rendering environments for card snippets.

```
struct CardSnippetFamily
```

## Overview

Each instance of the `CardSnippetFamily` type reflects the amount of space available for your custom content,
and indicates how the system intends to display that content. When defining a [`CardSnippet`](/documentation/AppIntents/CardSnippet) type for one
of your entities, you specify which families you support. In the closure you use to create your view, the
system provides a [`CardSnippetContext`](/documentation/AppIntents/CardSnippetContext) object with the family it expects you to use to configure your views.

The system defines families broadly so that it can reuse your snippets in multiple places. For example, the
[`standard`](/documentation/AppIntents/CardSnippetFamily/standard) family supports a view large enough to display on iPad or iPhone. If an entity doesn’t
support the requested family, the system presents the entity’s display representation details instead.

## Topics

### Getting the supported families

[`static var standard: CardSnippetFamily`](/documentation/AppIntents/CardSnippetFamily/standard)

A family that supports a standard amount of space.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

---

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)