# Segmented code manuel

**URL:** <https://forums.realmacsoftware.com/t/segmented-code-manuel/45400>\
**Category:** RapidWeaver Elements\
**Created:** [November 25, 2024, 1:47pm UTC](https://forums.realmacsoftware.com/t/segmented-code-manuel/45400 "2024-11-25T13:47:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bartje](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bartje/32/1210_2.png) [@Bartje](https://forums.realmacsoftware.com/u/Bartje)\
**Post date:** [November 25, 2024, 1:47pm UTC](https://forums.realmacsoftware.com/t/segmented-code-manuel/45400/1 "2024-11-25T13:47:39Z")

</div>

@dan

In the manual, the segmented code is:  
{  
“title”: “Alignment”,  
“id”: “alignment”,  
“segmented”: {  
“default”: {  
“base”: “align-left”,  
“md”: “align-center”  
},  
“items”: [{  
“value”: “align-left”,  
“icon”: “text.alignleft”  
}, {  
“value”: “align-center”,  
“icon”: “text.aligncenter”,  
“default”: true  
}, {  
“value”: “align-right”,  
“icon”: “text.alignright”,  
“title”: “Right”  
}]  
}  
}

It gives this  
 ![Scherm­afbeelding 2024-11-25 om 14.38.38](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/6/d/6d30cb2bac35dab4b9748a8347e1542197905f57.png)

I think the line “title”: “Right” has to be removed to get only the icons.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [November 25, 2024, 3:23pm UTC](https://forums.realmacsoftware.com/t/segmented-code-manuel/45400/2 "2024-11-25T15:23:26Z")

</div>

Excellent catch, have updated the [Segmented page in the Docs](https://docs.realmacsoftware.com/elements-docs/elements-language/properties.json/ui-controls/segmented)!
