---
title: TVCardView
framework: tvuikit
role: symbol
role_heading: Class
path: tvuikit/tvcardview
---

# TVCardView

A view that responds to focus interaction with a motion effect it applies to all of its subviews.

## Declaration

```swift
class TVCardView
```

## Overview

Overview A TVCardView object is a specialized version of TVLockupView that presents an arbitrarily composed view hierarchy in a floating content view. You add custom subviews to the contentView property, and the subviews act as a single unit in regard to selection and motion effects. You typically use a TVCardView to display ratings and reviews for a media item. The following figure shows a rating card that consists of two label views (the rating and related information) and an image view (the stars).

## Topics

### Setting the Background Color

- [cardBackgroundColor](tvuikit/tvcardview/cardbackgroundcolor.md)

## Relationships

### Inherits From

- [TVLockupView](tvuikit/tvlockupview.md)

### Conforms To

- [CALayerDelegate](quartzcore/calayerdelegate.md)
- [CLBodyIdentifiable](corelocation/clbodyidentifiable.md)
- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [UIAccessibilityIdentification](uikit/uiaccessibilityidentification.md)
- [UIActivityItemsConfigurationProviding](uikit/uiactivityitemsconfigurationproviding.md)
- [UIAppearance](uikit/uiappearance.md)
- [UIAppearanceContainer](uikit/uiappearancecontainer.md)
- [UIContextMenuInteractionDelegate](uikit/uicontextmenuinteractiondelegate.md)
- [UICoordinateSpace](uikit/uicoordinatespace.md)
- [UIDynamicItem](uikit/uidynamicitem.md)
- [UIFocusEnvironment](uikit/uifocusenvironment.md)
- [UIFocusItem](uikit/uifocusitem.md)
- [UIFocusItemContainer](uikit/uifocusitemcontainer.md)
- [UIPopoverPresentationControllerSourceItem](uikit/uipopoverpresentationcontrollersourceitem.md)
- [UIResponderStandardEditActions](uikit/uiresponderstandardeditactions.md)
- [UITraitChangeObservable](uikit/uitraitchangeobservable-67e94.md)
- [UITraitEnvironment](uikit/uitraitenvironment.md)
- [UIUserActivityRestoring](uikit/uiuseractivityrestoring.md)

## See Also

### Lockup views

- [TVLockupView](tvuikit/tvlockupview.md)
- [TVLockupViewComponent](tvuikit/tvlockupviewcomponent.md)
- [TVLockupHeaderFooterView](tvuikit/tvlockupheaderfooterview.md)
- [TVPosterView](tvuikit/tvposterview.md)
- [TVCaptionButtonView](tvuikit/tvcaptionbuttonview.md)
- [TVMonogramView](tvuikit/tvmonogramview.md)
