Cards
Stay organized with collections
Save and categorize content based on your preferences.
Cards are the basic building blocks of your TV app.
Resources
Highlights
- Use a card to display content on a single topic.
- A card can hold anything from images to headlines,
supporting text, buttons, lists, and other UI elements.
- A card cannot merge with another card or divide into multiple cards.
- There are six variations of cards: standard, classic, compact,
inset, wide standard, and wide classic.
Variants
There are five types of cards, each with a different use case:
- Standard
- Classic
- Compact
- Wide standard
- Wide classic
Content blocks
A card's contents are arranged in distinct blocks. The card visual design
including emphasis denotes hierarchy. The layout of the cards themselves
accommodates the types of content the cards contain.
Anatomy
- Title
- Subtitle
- Description
- Extra text
Specs

Standard card
Anatomy

- Image
- Content block
States

Specs

Classic card
Anatomy

- Image
- Content block
States

Specs

Compact card
Anatomy

- Image
- Content block
States

Specs

Wide standard card
Anatomy

- Image
- Content block
States

Specs

Wide classic card
Anatomy

- Image
- Content block
States

Specs

Usage
Cards are versatile design elements that can be used to display a variety
of content in a visually appealing and user-friendly way. The following
sections explore design considerations for cards.
Aspect ratio
There are three common aspect ratios for cards: 16:9, 1:1, and 2:3.
Each aspect ratio has its strengths, so the best choice for
you depends on your specific needs.
- 16:9 is the most common aspect ratio for cards. It is a wide aspect
ratio that is well-suited for displaying images and videos.
- 1:1 is a square aspect ratio. It is a good choice for cards that need
to be visually balanced, such as cast and crew, channel logos, or team logos.
- 2:3 is a taller aspect ratio. It is a good choice if you want to break up
the grid and bring more emphasis.
Ultimately, the best way to choose an aspect ratio for your cards is to
experiment with different options and see what looks best.

Here are some examples usages of different aspect ratios
1:1
Cast and crew
Sports teams logos
2:3
Trending books
16:9
Movie cards
Layout and spacing
Varying card widths based on the number of cards visible on the screen
can be achieved by implementing proper peaking with a spacing of 20dp.
1-card layout
Width of the card — 844dp
2-card layout
Width of the card — 412dp
3-card layout
Width of the card — 268dp
4-card layout
Width of the card — 196dp
5-card layout
Width of the card — 124dp
Content block
The width of the content block in a card should be the same width as the image
thumbnail. If you need to display more text in the content block,
use a wide card variation.
check_circle
Do
Use wide cards to show short descriptions, but only if absolutely necessary. The length of the description should be only a few words.
cancel
Don't
Avoid long descriptions on vertically stacked cards.
Compact card
Compact cards should be concise and easier to read. The content preceding the
background image should be brief and to the point. Avoid long titles,
subtitles, or descriptions. This makes your cards more
visually appealing and easier to scan.
To make text more readable on an image, add a semi-transparent black
gradient overlay. This darkens the background without obscuring
the image too much, making the text easier to see.
check_circle
Do
Compact card using scrim on top of image background.
cancel
Don't
Don't use compact cards without scrim on top of the background image.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-08-19 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-19 UTC."],[],[],null,["# Cards are the basic building blocks of your TV app. \n\nResources\n---------\n\n| Type | Link | Status |\n|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|\n| Design | [Design source (Figma)](https://goo.gle/tv-desing-kit) | Available |\n| Implementation | [Jetpack Compose](/reference/kotlin/androidx/tv/material3/package-summary#Card(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function0,androidx.tv.material3.CardShape,androidx.tv.material3.CardColors,androidx.tv.material3.CardScale,androidx.tv.material3.CardBorder,androidx.tv.material3.CardGlow,androidx.compose.foundation.interaction.MutableInteractionSource,kotlin.Function1)) | Available |\n\nHighlights\n----------\n\n- Use a card to display content on a single topic.\n- A card can hold anything from images to headlines, supporting text, buttons, lists, and other UI elements.\n- A card cannot merge with another card or divide into multiple cards.\n- There are six variations of cards: standard, classic, compact, inset, wide standard, and wide classic.\n\nVariants\n--------\n\nThere are five types of cards, each with a different use case:\n\n1. Standard\n2. Classic\n3. Compact\n4. Wide standard\n5. Wide classic\n\nContent blocks\n--------------\n\nA card's contents are arranged in distinct blocks. The card visual design\nincluding emphasis denotes hierarchy. The layout of the cards themselves\naccommodates the types of content the cards contain.\n\n### Anatomy\n\n1. Title\n2. Subtitle\n3. Description\n4. Extra text\n\n### Specs\n\nStandard card\n-------------\n\n### Anatomy\n\n1. Image\n2. Content block\n\n### States\n\n### Specs\n\nClassic card\n------------\n\n### Anatomy\n\n1. Image\n2. Content block\n\n### States\n\n### Specs\n\nCompact card\n------------\n\n### Anatomy\n\n1. Image\n2. Content block\n\n### States\n\n### Specs\n\nWide standard card\n------------------\n\n### Anatomy\n\n1. Image\n2. Content block\n\n### States\n\n### Specs\n\nWide classic card\n-----------------\n\n### Anatomy\n\n1. Image\n2. Content block\n\n### States\n\n### Specs\n\nUsage\n-----\n\nCards are versatile design elements that can be used to display a variety\nof content in a visually appealing and user-friendly way. The following\nsections explore design considerations for cards.\n\n### Aspect ratio\n\nThere are three common aspect ratios for cards: 16:9, 1:1, and 2:3.\nEach aspect ratio has its strengths, so the best choice for\nyou depends on your specific needs.\n\n- 16:9 is the most common aspect ratio for cards. It is a wide aspect ratio that is well-suited for displaying images and videos.\n- 1:1 is a square aspect ratio. It is a good choice for cards that need to be visually balanced, such as cast and crew, channel logos, or team logos.\n- 2:3 is a taller aspect ratio. It is a good choice if you want to break up the grid and bring more emphasis.\n\nUltimately, the best way to choose an aspect ratio for your cards is to\nexperiment with different options and see what looks best.\n\nHere are some examples usages of different aspect ratios \n\n### 1:1\n\nCast and crew \n\nSports teams logos\n\n### 2:3\n\nTrending books\n\n### 16:9\n\nMovie cards\n\n### Layout and spacing\n\nVarying card widths based on the number of cards visible on the screen\ncan be achieved by implementing proper peaking with a spacing of 20dp. \n\n### 1-card layout\n\nWidth of the card --- 844dp\n\n### 2-card layout\n\nWidth of the card --- 412dp\n\n### 3-card layout\n\nWidth of the card --- 268dp\n\n### 4-card layout\n\nWidth of the card --- 196dp\n\n### 5-card layout\n\nWidth of the card --- 124dp\n\n### Content block\n\nThe width of the content block in a card should be the same width as the image\nthumbnail. If you need to display more text in the content block,\nuse a wide card variation. \ncheck_circle\n\n### Do\n\nUse wide cards to show short descriptions, but only if absolutely necessary. The length of the description should be only a few words. \ncancel\n\n### Don't\n\nAvoid long descriptions on vertically stacked cards.\n\n### Compact card\n\nCompact cards should be concise and easier to read. The content preceding the\nbackground image should be brief and to the point. Avoid long titles,\nsubtitles, or descriptions. This makes your cards more\nvisually appealing and easier to scan.\n\nTo make text more readable on an image, add a semi-transparent black\ngradient overlay. This darkens the background without obscuring\nthe image too much, making the text easier to see. \ncheck_circle\n\n### Do\n\nCompact card using scrim on top of image background. \ncancel\n\n### Don't\n\nDon't use compact cards without scrim on top of the background image."]]