How to display line-through in checkout ui extension

Topic summary

A developer needed to display strikethrough text in a Shopify checkout UI extension but couldn’t find the appropriate property in the Text component.

Resolution:

  • The solution was found independently by the original poster
  • Use accessibilityRole: deletion as the property to achieve the line-through effect

Status: Resolved - the developer discovered the answer without requiring additional assistance.

Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

Hello, I want to know how to display line-through in checkout ui extension, I can’t see any props in compoment “Text”. like this:

1 Like

Can you explain in detail how to operate, tks

ok I find it

accessibilityRole: deletion is the way to show line-through

1 Like