<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by ashish khoshya on Medium]]></title>
        <description><![CDATA[Stories by ashish khoshya on Medium]]></description>
        <link>https://medium.com/@ashish.khoshya1998?source=rss-4a5b375925d0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*aC6CvicgymKdVNK9UpF-Wg@2x.jpeg</url>
            <title>Stories by ashish khoshya on Medium</title>
            <link>https://medium.com/@ashish.khoshya1998?source=rss-4a5b375925d0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 00:07:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ashish.khoshya1998/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Streamline Design system with PCS logic — Cut design time & boost system efficiency]]></title>
            <link>https://medium.com/@ashish.khoshya1998/streamline-design-system-with-pcs-logic-cut-design-time-boost-system-efficiency-1a4bd6e5e5e8?source=rss-4a5b375925d0------2</link>
            <guid isPermaLink="false">https://medium.com/p/1a4bd6e5e5e8</guid>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[figma]]></category>
            <category><![CDATA[design-patterns]]></category>
            <category><![CDATA[design-systems]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[ashish khoshya]]></dc:creator>
            <pubDate>Tue, 30 Jan 2024 10:47:36 GMT</pubDate>
            <atom:updated>2024-01-30T10:47:36.238Z</atom:updated>
            <content:encoded><![CDATA[<h3>Streamline Design system with PCS logic — Cut design time &amp; boost system efficiency</h3><p>Have you ever been through a situation while creating the Design System that made you say “Why do we need to create &amp; maintain so many variants”</p><p>I’m sure you have. Well, we all have. Especially us who don’t have some written Design system guidelines to follow.</p><p>Many of us wish for a strong design system, but not many want the job of making all kinds of versions while keeping things the same across everything. It’s a bit like asking for a powerful tool but then, when using it, people often do things their way and don’t stick to the set rules. We get it – it’s not on purpose; it’s just their way of trying to move faster.</p><p>If you’ve faced similar design problems, don’t worry. This article introduces PCS (prefix + content box + suffix) Logic, which simplifies creating &amp; maintaining design systems.</p><h4>Embracing the PCS Revolution: A Comic Tale of Design Dilemmas and the Seamless Solution:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gre9bz2o-XrV8DwiiXcQLg.jpeg" /></figure><h4>The Genesis of This Idea</h4><p>Last March, We at Clear (formerly ClearTax) decided to move from a Design library to a robust Design system. My major task is to make a Design System that follows consistency across &amp; has guidelines so that Designers know how to use components, and when to break (detach instances) them but be in the Design system guardrails &amp; how to break them.</p><p>We made a lot of variants for each component. If there were different colors, sizes, and styles, we created separate versions for every combination. This made things a bit overwhelming. <em>(For example, when we’re making the button component, creating and maintaining 760 variants is very tough)</em>. Making sure all those components (buttons, tags, badges, tabs, etc) looked consistent was an even trickier part of the puzzle.</p><p><strong>Spotting a Useful Pattern that Brought in the Logic PCS:</strong></p><p>When making components, I noticed a pattern — P (prefix), C (content box), and S (suffix). I realized that adjusting these three elements could create numerous components, so I came up with PCS logic. I also observed that certain aspects, like color and size, don’t always change at the same time. Instead of creating every possible version, I focus on multiplying only the independent options, meaning they don’t change together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xCOiv5oBAHx8hunrgDaJ9A.png" /><figcaption>Components having P, C &amp; S pattern</figcaption></figure><h4>PCS Box: The Design Alchemist:</h4><p>After identifying the P, C &amp; S pattern and applying the multiplication rule for independent properties within nested layers, I created a foundational element called the PCS Box. This innovative approach serves as a control center for various component properties, adhering to the P, C, and S patterns (e.g., Buttons, Badges, Tags, Tabs, Text fields, Search fields, etc.). Within the PCS Box, fundamental properties like Size, Spacing, Padding, Weight, and boolean properties for P, C, and S are declared, eliminating the need to repeat these declarations for each final component.</p><p>This method of utilizing nested properties significantly reduces the number of variants needed for the primary component. The truly magical aspect is that any adjustments made at the foundational level (PCS Box) automatically propagate to all associated components. This not only ensures consistency across the board but also simplifies the overall management of these design elements.</p><p>The following example illustrates the impact of using nested layer properties to minimize the number of components needed-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hmZzJkabQA8qafaJKCYu8A.jpeg" /><figcaption>The nested layer helps you create fewer components (to see a significant drop, try for large no. of components)</figcaption></figure><p><strong>Now let’s see how to create a foundation — the PCS box:</strong></p><p>To make a powerful PCS Box, focus on each layer — Prefix, Content box, and Suffix. Be smart about what details to show. Think about the important properties that everyone will see at the top layer. Look at the image below to understand what’s needed at each level.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JGQhriT3erglo80eHbERQQ.jpeg" /><figcaption>Disclaimer — Properties declared here are those which we think should be included in P, C &amp; S</figcaption></figure><p><strong>Let’s bring P, C &amp; S together to create the PCS box:</strong></p><p>Now that we’ve made P (Prefix), C (Content box), and S (Suffix), let’s put them together to create our powerful PCS Box or building block. After checking things out and talking with lots of designers, we’ve figured out the important stuff to include: size, padding, space between things, and options like Hide &amp; Show for P, C, and S. We also want to make it easy for you to customize each P, C, and S when you’re creating or using components, hence enabled the nested properties in it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xnqMq2nNcPt7J10HtrGu4Q.gif" /></figure><h4>Example: Button Creation Guide using PCS Box</h4><p>Let’s bridge the gap by creating a button — a prime example of a PCS Box in action.</p><p>Step 1: Drag &amp; Drop PCS Component</p><p>. — Begin your journey by placing the PCS component, the foundation of your button.</p><p>Step 2: Define Sizes and Spacing</p><p>. — Tailor your button by specifying sizes, padding, and spacing values.</p><p>Step 3: Transform into Button Base</p><p>. — Shape your button base, setting the stage for diverse variants.</p><p>Step 4: Add a Wrapper</p><p>. — Introduce a wrapper for button types and states, creating a myriad of variants.</p><p>Step 5: Publish and Use</p><p>. — Revel in the shock: Only 32 buttons cover the possibilities, sparing you from the usual 760.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1UL--JH_yG6eW5fLCHSw4Q.gif" /><figcaption>The benefit of using PCS Logic</figcaption></figure><blockquote>Reference Material</blockquote><blockquote>Link to the guided step-by-step video for button creation using PCS box<br><a href="https://youtu.be/GncA4LK-riM?feature=shared">https://youtu.be/GncA4LK-riM?feature=shared</a></blockquote><blockquote>Link to the Figma Playground File:<br><a href="https://www.figma.com/file/KECdayLyCwLFghxon8xd4C/%F0%9F%9A%80-PCS-box-%2F-building-block-playground?type=design&amp;node-id=102%3A25878&amp;mode=design&amp;t=GiXj4mvs2OGGQxmR-1">Open Figma playground</a></blockquote><h4>Benefits in the PCS Journey:</h4><p>At Clear, using PCS logic changed the game. It made our design process smooth and reduced a ton of components:</p><ul><li>Buttons went from 760 to just 32.</li><li>Badges shrunk from 624 to a sleek 25.</li><li>Input Fields simplified from 113 to a quick 40.</li></ul><p>But PCS magic doesn’t stop there! <strong>Tabs, Tags, Extended Buttons, Filter Chips, Banners, and more can easily be made using the same logic</strong>. With PCS, you save time and keep your design consistent and versatile.</p><p>PCS Logic’s brilliance isn’t limited to designers; our engineering team embraced it, reducing their effort by a staggering 70%.</p><h4>Challenges in the PCS Journey:</h4><p>Every discovery has its nuances. While PCS Logic introduces valuable features, such as nested properties, it’s important to acknowledge potential challenges. As part of the vibrant Figma community, I invite fellow designers to share insights and solutions on optimizing mental model updates and addressing limitations in interactive components.</p><p>Moreover, if anyone has discovered effective strategies to manage file size increases or encountered workarounds for occasional system performance issues, your input would be immensely valuable.</p><h4>Let’s Design with PCS logic</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wuITUOUamp_ey9QxbrPkyg.png" /></figure><p>Your journey into the world of PCS Logic is just beginning. If you have questions or insights, or if you simply want to share your experiences, I’d love to connect with you. Feel free to reach out to me on <a href="https://www.linkedin.com/in/ashish-khoshya-676b99183/">LinkedIn</a> or drop me an email at [<a href="http://ashish.khoshya1998@gmail.com/">ashish.khoshya1998@gmail.com</a>]. Let’s continue the conversation and explore the endless possibilities that PCS Logic brings to our design endeavors. Happy designing 🧘🏻</p><blockquote>“Design trailblazers, buckle up! Shifting gears mentally may seem like a leap, but trust me, the payoff is a design process that’s a total game-changer. Get ready for a journey where efficiency meets creativity, and your design game hits new heights! 🚀 Ready to dive in? #DesignRevolution”</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1a4bd6e5e5e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>