Rebuilding iGap, one component at a time
I owned the component layer of iGap’s redesign: a shared design system for web and Android, built around consistent patterns and light/dark tokens.

The redesign started below the screen
At KIAN IRANIAN Smart Technologies Development Group, I was given the requirements for iGap and a specific starting point: begin the redesign by rebuilding its components. The first phase focused on the pieces that would appear repeatedly across the product.
That scope shaped the project. A contact row, navigation item, or message bubble could look better in isolation and still create an inconsistent experience when assembled with everything else. I needed to define how those pieces belonged together: their hierarchy, spacing, states, content, and behavior under light and dark themes.
I owned this design project. A design lead reviewed the work and was responsible for sign-off. The Android and web teams handled their respective implementations. The system shipped broadly during my involvement.
The brief was components first. My job was to make those components a coherent foundation for the redesign.
This story follows four connected decisions: establish a shared visual hierarchy, make theme changes depend on semantic roles, define components through configurable anatomy and states, and carry those rules into messaging patterns and documentation.
Start with the inconsistencies people meet repeatedly
My before/after work focused on familiar parts of the existing product: contact cells, bottom navigation, the home top bar, message bubbles, and the composer. These were useful places to examine consistency because they appear throughout a messenger’s daily use.
In contact cells, text sizes, weights, colors, and status icons competed for attention. The redesign gave the conversation identity, message preview, time, and secondary status information clearer roles. Rather than making every detail prominent, I used hierarchy to distinguish what someone should scan first from what they could check next.
Navigation raised a related problem at a different scale. My design notes called for reducing the bottom navigation to four actions and regrouping them into a more familiar arrangement. Story access moved into the top bar. This was a connected change: deciding what belonged in one component changed what the neighboring component needed to accommodate.
Two component decisions, one consistency problem

The home top bar also changed its use of color. The earlier green surface carried a strong visual emphasis; the redesigned treatment used a quieter surface and regrouped its actions. That left the brand color available for places where emphasis had a clearer purpose.
These comparisons established a design direction: consistent typography, restrained color emphasis, recognizable action grouping, and deliberate coverage of component states. They explain the reasoning behind the visual changes without requiring the reader to infer it from polished screens alone.
Give every layer a clear responsibility
I organized the work around foundations, tokens, reusable components, and product patterns. Each layer answered a different question.
| Layer | The question it answered | Examples in this system |
|---|---|---|
| Foundations | What visual language are we using? | Color scales, typography, grids, icons |
| Tokens | Which shared decision should this property use? | Primary and surface roles, spacing, corner radii |
| Components | How does a recurring element work? | Buttons, fields, switches, tabs, badges |
| Product patterns | How do those elements support a messaging task? | Conversation rows, chat bubbles, composer, navigation |
| Documentation | How can another person use and implement it? | Anatomy, properties, states, measurements, usage notes |
This is the system’s information architecture, reconstructed here to explain the library. Foundations and developer references have their own pages; component families are separated by purpose; messaging compositions have room for their own nested parts. The Docs area provides another route into the same components through their structure and usage.
That separation makes a shared choice easier to follow. A person inspecting a button can find its properties, understand the token behind its fill, and see how the same decision participates in the broader interface.
Establish a rhythm for Persian interfaces
Color was one part of the foundation. The type scale used display, headline, title, label, and body roles, with sizes inside each family. The library uses IRANSansX and IRANSansXFaNum, keeping Persian content and numeral treatment visible in the actual components.
Those choices matter in a messenger. A conversation title, message preview, timestamp, unread count, and helper text all need different levels of emphasis within a compact space. Shared text roles gave me a way to make those distinctions repeatable across components.
The foundations also include grid references for phone, tablet, and desktop layouts. They place the component work in the context of different available widths. The Modal page, for example, includes mobile bottom sheets and tablet-oriented examples with explicit minimum and maximum heights.
I used Material design principles as a reference while developing patterns for iGap’s own product context. Persian labels, right-to-left composition, messaging content, and platform constraints needed to remain visible in the design work, rather than being left for the final screen assembly.
Let the meaning stay stable when the theme changes
The token structure separates primitive values from semantic roles. A primitive describes a value in a scale. A semantic role describes what that value does in the interface.
The file contains a semantic Tokens collection with Light and Dark modes, a primitive collection, and a numeric-token collection. My theme scope during this project was light and dark.
A concrete example is the primary button. Its fill is bound to the semantic primary role. In the light mode, that role points to primary 40; in the dark mode, it points to primary 80. The foreground has its own on-primary role, so it can change with the background.
| Role | Light mode | Dark mode |
|---|---|---|
| Primary | Primary 40 · #22A958 | Primary 80 · #AAEEC5 |
| On primary | Primary 100 · #FFFFFF | Primary 20 · #11552C |
The important relationship is primitive → semantic role → component property. The button continues to refer to “primary” while the selected mode determines which value that means. A theme change can therefore pass through a bound component without redefining that component’s structure.
The same token roles support two appearances

The same approach extends beyond brand color. The semantic reference covers surfaces, outlines, feedback, interaction-related roles, inverse colors, and scrims. This gives a surface, error, or overlay a defined place in the palette.
Numeric tokens carry another part of the consistency. In a large filled button, the horizontal padding is bound to a spacing token with a value of 24, and the corner radius to a numeric token with a value of 12. Smaller sizes use other values from the same shared vocabulary. Color, spacing, and shape can all be inspected as named decisions.
Standardize the pattern behind each component
A standard pattern needed to describe more than the default appearance. Across the library, I worked with a recurring set of questions:
- What are the required parts, and what can be switched on or off?
- Which choices affect size, emphasis, content, or state?
- Which decisions come from tokens?
- Which parts should be nested components?
- How will another designer configure an instance without rebuilding it?
Buttons provide a compact example. Their properties separate four sizes, four visual treatments—filled, outlined, ghost, and text—and default, pressed, and disabled states. Destructive treatment is another explicit choice. Text and icon slots have their own controls.
Those dimensions serve different purposes. Size responds to placement and density; treatment communicates emphasis; state communicates availability or interaction. Keeping them distinct makes the component more useful than a collection of visually similar copies.
Text fields apply the same underlying discipline to a more complex element. The library distinguishes large and medium sizes, underline and outline styles, enabled/focused/disabled states, error treatment, and label/placeholder/entered-content examples. Adornment slots, helper text, required markers, and character counters are configurable.
The anatomy connects these options to their purpose. The label identifies the field, the input carries the person’s content, and the supporting area has room for guidance or validation. The component needs to retain a readable structure as these parts change.
A component has anatomy, options, and states

The wider library follows this approach across search, selection controls, chips, loading indicators, feedback, identity, and navigation. Consistency comes from how those families relate as well as how each one looks.
Build messaging patterns from reusable parts
Messaging was where the system needed to become more specific to iGap. A message can contain text, a voice recording, visual media, a file, a location, a contact, or a sticker. It can also carry sender information, a reply, forwarding context, and status.
The Chat Bubbles area separates small supporting elements, fixed compositions, content containers, media players, and the main message component. The main component exposes message type, sender-side treatment, and avatar options; additional properties control sender information, forwarding, replies, and extra text.
This decomposition gives changing content a consistent frame. A voice message needs playback information, while a location or contact needs a different content body. They can still belong to the same visual family through shared outer structure, metadata, and spacing.
The composer has a similar relationship between a stable purpose and changing states. Its library includes text entry, voice recording, action controls, replies, and emoji/GIF/sticker-related compositions, with desktop-specific material alongside mobile examples.
A shared language for reading and composing messages

My before/after notes for the composer and bubbles focused on hierarchy, color, readability, and coverage of different situations. These are design decisions with visible consequences in the interface. A measured change in reading speed or task completion would require a separate evaluation.
Contact cells, top bars, navigation, and information items extend the same system into the rest of the messenger. They are the bridge between general controls and the tasks that make iGap a messaging product.
Make the rules usable by the next person
The Docs area was part of the project during my role. It brings together component purpose, examples, related components, nested structure, anatomy, properties, variants, measurements, token references, accessibility considerations, and open issues.
This is where a reusable component becomes something another person can understand. The properties explain what can change; the anatomy explains what the parts are; measurements and token references explain how the design is put together.
For example, the button documentation states a hierarchy rule: one primary action per region, with other actions stepping down in emphasis. A designer choosing a variant therefore has both a configuration option and a reason for using it.
The documentation also uses real library instances. That connects the examples to the components they describe. However, some generated sections contain generic text or unfinished examples. I would review those against the actual component before treating them as complete usage guidance.
Documentation connects the instance to its construction

Version logs record foundation and token creation, the introduction of component families, later chat-bubble color variables, and component fixes. The Userflow Kit adds reusable connectors, blocks, gestures, measurements, and notes for explaining flows. Instance-swap helpers support configuration within the design library.
Together, these materials support ongoing work around the components: explaining a flow, reviewing a change, and communicating a specification.
One design foundation, two implementation teams
I owned the design work and prepared it for review. A design lead was responsible for review and sign-off, while Android and web developers worked on their respective implementations.
The shared design foundation gave both teams a reference for component appearance, state coverage, and token meaning. Platform implementation remained with the developers. This case study therefore attributes the design system and its specification to my work, and the engineering implementation to those teams.
The system shipped broadly during my time on the project. The concrete outcome I can describe is a component foundation used in the redesign, with documented reusable patterns and light/dark themes. I do not have a measured adoption rate or a reliable before/after figure for design time, development time, or usability.
A shipped system still has work to do
The documentation also makes limitations visible. Its checks flag contrast pairs, unbound spacing values, and gaps in focus-state representation. Some components define states without wiring prototype interactions.
Those findings matter when assessing the system. A themeable library can still contain a color pairing that needs improvement. A default state can look complete while keyboard focus remains insufficiently specified. The file does not establish an accessibility certification, and generated checks need contextual review—for example, a disabled control has different requirements from ordinary text.
Looking back, the next work I would prioritize is to review those findings against the implemented components, check focus and target behavior on both platforms, and replace generic documentation passages with product-specific examples. I would also establish a small set of adoption and quality measures so future changes could be evaluated beyond visual consistency.
What this project taught me
Starting with components made the relationships between design decisions especially clear. Moving an action out of bottom navigation affected the top bar. Giving a color a semantic role affected theme behavior. Separating a message’s structure from its content made the pattern work across more message types.
The strongest part of this project was connecting those decisions into one system: shared foundations, configurable components, product-specific patterns, and documentation that exposed how they were built.
I would carry that approach into another redesign: make the repeated decisions explicit early, then assess how well the implemented system carries them through real product use.
Explore the system’s full scope
The main story focuses on the decisions above. The source library also covers these families:
| Area | Included work |
|---|---|
| Foundations | Color scales; semantic light/dark roles; numeric tokens; type styles and weights; phone, tablet, and desktop grid references; icon assets |
| Actions and entry | Buttons; floating action buttons; icon buttons; horizontal actions; text fields; search |
| Selection | Radio buttons; checkboxes; switches; tabs; select chips |
| Feedback and identity | Snackbars; loading; badges; avatars; informative labels |
| Navigation and information | Navigation menu; top bars; contact cells; information items; context menus; tooltips |
| Messaging | Text, voice, media, file, location, contact, and sticker messages; sender and reply context; timestamps; content containers; composer and related controls |
| Overlays | Dialog and bottom-sheet material; headers and footers; mobile and tablet-oriented examples |
| Working tools | Component Docs; version logs; before/after rationale; instance-swap helpers; userflow and annotation kit |
| Exploration | Backyard material and working variants, kept separate from claims about shipped coverage |
Read the iGap Messenger case study · Explore the iLand payment journeys