as="figcaption"
if working with Detail Text inside a figure
element. Detail Text is not the same as alt text on images. The context and content of your usage might mean including alt text for further detail, or making alt text an empty string to prevent redundancy. Learn more about alt text and when to use it.
Examples
Detail Text below primary content
Use Detail Text to add a description below primary content for extra context.
Product | Usage | Cost |
---|---|---|
SMS | 1,234 messages | $12.34 |
Voice | 567 minutes | $56.70 |
Data shown is for the current billing period ending March 31, 2024.
Detail Text with no top margin
Detail Text includes a marginTop prop to remove its default top margin of space30
.
↑ Usage increased by 15%
Compared to last month
Detail Text as a footnote
Use Detail Text to add a footnote below a paragraph.
Privacy and Security
Twilio takes data protection seriously and implements industry-standard security measures to protect your information. All data is encrypted in transit and at rest.
* Security certifications include SOC 2 Type II, ISO 27001, and HIPAA compliance.
When to use Detail Text
Do
Use Detail Text for small pieces of text that are not the main content of the UI, like graph legends and image captions