The segmented control lets the merchant easily switch between different lists or views on the same page.
||The available segments that should be rendered in the segmented control. Each segment results in a tab.|
||The currently selected segment.|
||The callback that indicates the new segment when a new segment is selected.|
||A uique ID for the segment.|
||A label for the segment.|
||Whether the segment is disabled.|
- The highlighted segment indicates which section you’re in.
- Other sections have subdued text within an outlined inactive area to indicate that they’re actionable.
Content guidelinesAnchor link to section titled "Content guidelines"
Keep the content very short and brief, ideally only 1-2 words.
Each label should be structured in the same way, so that they’re easy to compare. For example, they could all be nouns:
✅ For discounts: Amount / Percentage / Price override
❌ For discounts: Amount off / % / Override price