Chat AI Agent CSS Customization Guide
All Quack Chat widget components expose CSS class names prefixed with qc- that you can target to override styles from outside the widget.
Class Name Reference
Layout & Container
Header & Footer
Messages
Input
Email & Escalation
CSAT (Customer Satisfaction)
Other
Usage Examples
Override chat background
.qc-Chat__Background {
background: #f5f5f5 !important;
}
Custom header styling
.qc-Chat__Header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
Change message bubble appearance
.qc-Chat__Message .qc-Chat__MessageText {
font-size: 15px;
line-height: 1.6;
}
Style the send button
.qc-Chat__CTAButton {
background-color: #4f46e5 !important;
border-radius: 12px !important;
}
Hide the footer
.qc-Chat__Footer {
display: none;
}
Custom notification overlay
.qc-Chat__SessionNotification {
backdrop-filter: blur(8px);
background: rgba(0, 0, 0, 0.2);
}
.qc-Chat__SessionNotification__Card {
border-radius: 12px;
}
Notes
Use
!importantwhen overriding styles set inline or by Radix UI.All class names are stable and safe to target in production.
Classes are additive - components may have multiple
qc-classes for granular targeting. Collapse