We had earlier talked about how Carousell tackled the complexity of listing variety with our UI system. Siaw Young, one of the engineers behind the project, introduced the concept of fieldsets, documents written in Carousell specific markup to communicate a screen’s layout to clients.

Fieldsets are made up of fields, each represented by a component type on client. A listing’s description and price can both be represented by a paragraph component, albeit with different content. When writing a fieldset, you decide which components to use, what data they correspond to and how to order the fields.

Currently, Carousell’s fieldsets are…

Yishu See

Software engineering at @thecarousell

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store