---
title: lastName
framework: tvml
role: article
role_heading: Article
path: tvml/lastname
---

# lastName

Adds a person’s last name to an element.

## Overview

Overview Here’s an example that sets the last name for a monogram. <monogramLockup>     <monogram firstName="Anne" lastName="Johnson"/>     <title>Anne Johnson</title>     <subtitle>Actor</subtitle> </monogramLockup> Values for lastName Elements that Use lastName monogram

## See Also

### Text Attributes

- [accessibilityText](tvml/accessibilitytext.md)
- [firstName](tvml/firstname.md)
- [layoutDirection](tvml/layoutdirection.md)
- [secure](tvml/secure.md)
- [showSpinner](tvml/showspinner.md)
