---
schema_version: "1"
id: 82ca65907f9bdb6dafe3c5dc8c78a22b2335ddb83959307091a37351b7b119c7
title: liveAgent:clientChatCancelButton
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/salesforce-pages-developers-guide/guides/pages/components/pages-compref-liveagent-clientchatcancelbutton.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-pages-developers-guide/guide/pages-compref-liveagent-clientchatcancelbutton.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: deaf6ff6c1802aee8e4c903848427cb1995422668e69932360f27b131c371e5d
products:
  - Visualforce Developer Guide
  - Platform Developer Content
---

# liveAgent:clientChatCancelButton

The button within a chat window a visitor clicks to cancel a chat session.

Must be used within `<liveAgent:clientChat>`.

## Attributes

|Attribute Name|Attribute Type|Description|Required?|API Version|Access|
|--------------|--------------|-----------|---------|-----------|------|
|`id`|String|An identifier that allows the component to be referenced by other components in the page.| |14.0|global|
|`label`|String|The label that appears on the button. The default English label is "Cancel Chat".| |34.0||
|`rendered`|Boolean|A Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true.| |14.0|global|

**See Also**  


-   [liveAgent:clientChat](https://developer.salesforce.com/docs/platform/salesforce-pages-developers-guide/guide/pages-compref-liveagent-clientchat.md)

