<!--
{
  "documentType" : "article",
  "framework" : "TVML",
  "identifier" : "/documentation/TVML/type",
  "metadataVersion" : "0.1.0",
  "role" : "article",
  "title" : "type"
}
-->

# type

Specifies how a badge is drawn.

## Overview

Use the `type` attribute to specify whether a badge is filled or an outline.

### Values for type

- `fill`: Completely fills the badge icon.
- `stroke`: Draws the badge icon as an outline. This is the default value.

### Elements that Use type

- [textBadge](/documentation/TVML/textbadge)

---

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)