<?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 Josh Cusick on Medium]]></title>
        <description><![CDATA[Stories by Josh Cusick on Medium]]></description>
        <link>https://medium.com/@joshcusick?source=rss-da2eadade64------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HkLqZJNrhXWgwDgSGZGK4A.jpeg</url>
            <title>Stories by Josh Cusick on Medium</title>
            <link>https://medium.com/@joshcusick?source=rss-da2eadade64------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 05:31:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@joshcusick/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[Building Workbench]]></title>
            <link>https://medium.com/gusto-design/building-workbench-b7b6a232508b?source=rss-da2eadade64------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7b6a232508b</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[gusto]]></category>
            <category><![CDATA[figma]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[design-systems]]></category>
            <dc:creator><![CDATA[Josh Cusick]]></dc:creator>
            <pubDate>Tue, 12 Jul 2022 18:26:22 GMT</pubDate>
            <atom:updated>2023-02-11T23:30:27.114Z</atom:updated>
            <content:encoded><![CDATA[<h4>How we created the Timeline component</h4><figure><img alt="UI elements inside of Figma" src="https://cdn-images-1.medium.com/max/1024/1*fQRIhA49dxUgEHl1q-T0EQ.png" /></figure><p><em>Thanks to </em><a href="https://www.linkedin.com/in/jordancutler1/"><em>Jordan</em></a><em>, </em><a href="https://www.linkedin.com/in/eric-nagy-65416029/">Eric</a><em>, </em><a href="https://www.linkedin.com/in/djflynn15/"><em>Daniel</em></a><em>, </em><a href="https://www.linkedin.com/in/liselatorre/"><em>Lise</em></a><em>, </em><a href="https://www.linkedin.com/in/juliannwheeler/"><em>Juliann</em></a><em>, and</em><a href="https://www.linkedin.com/in/amythibodeau/"><em> Amy</em></a><em> for the help with this article.</em></p><p>The Design Systems <a href="https://workbench.gusto.com/resources/about-workbench/#gusto%E2%80%99s-design-systems-team">team</a> at Gusto has been working hard over the past three years to provide designers and engineers with a robust, extensive, and accessible design system called <a href="https://workbench.gusto.com/">Workbench</a>. But it wasn’t always this way.</p><p>A few years back there was a grassroots effort to deliver a more cohesive experience at scale in <a href="https://gusto.com/">Gusto’s</a> product. This manifested a component library that lived inside of <a href="https://storybook.js.org/">Storybook</a>.</p><p>The library was created to centralize existing components built for specific business needs and scenarios but it came with some tradeoffs. Components were shipped faster but were less modular and compositional. They solved immediate problems but were less flexible.</p><p><a href="https://techcrunch.com/2021/06/30/2171608/">Gusto’s growth</a> since the inception of our component library has introduced needs that its components cannot easily remedy.</p><p>These needs are addressed by investigating, evaluating, and validating how a new Workbench component can solve our customers’ evolving use cases. One of the components that needed to be rebuilt was our &lt;StepList /&gt; component.</p><figure><img alt="The step list component inside of the Storybook preview website" src="https://cdn-images-1.medium.com/max/1024/1*LK1Na171Z7xai7f0TBWa5A.png" /><figcaption>Screenshot of the &lt;StepList /&gt; component inside Storybook</figcaption></figure><p>Building a component for a design system can be quite a tedious task. At Gusto, we follow a highly-collaborative, end-to-end component design process. This process continues to evolve, but for this component here were the steps:</p><ol><li>Project scoping</li><li>Component research and auditing</li><li>API/design explorations and reviews</li><li>Accessibility research</li><li>Design and engineering specs</li><li>The Figma component build</li><li>The React component build</li><li>Usage guidelines and documentation</li><li>Final checks and ship</li></ol><p>This article covers how my team and I collaborated to build the <a href="https://workbench.gusto.com/components/timeline/">&lt;Timeline /&gt;</a> component which was born from &lt;StepList /&gt;. I’d like to say a special thanks to <a href="https://www.linkedin.com/in/jordancutler1/">Jordan Cutler</a> (my engineering counterpart) and <a href="https://www.linkedin.com/in/juliannwheeler/">Juliann Wheeler</a> (my manager) for working with me on this project.</p><figure><img alt="The Timeline component usage documentation on the Workbench website" src="https://cdn-images-1.medium.com/max/1024/1*fOv79QgGRu-NqpTv6ZBPtg.png" /><figcaption>Our new &lt;Timeline /&gt; component in <a href="https://workbench.gusto.com/components/timeline/">Workbench</a></figcaption></figure><h3>Project scoping</h3><p>The first phase of building a component requires that we understand as much of the problem as possible. The &lt;StepList /&gt; is basically an &lt;ol&gt; with &lt;li&gt;s. At Gusto, this component is commonly used to visualize the status of tasks.</p><figure><img alt="A designer’s mock up of the step list component inside of Figma" src="https://cdn-images-1.medium.com/max/1024/1*43ysIRrjVkC1mWXltKN6EQ.png" /><figcaption>Example of the &lt;StepList /&gt; in a tax registration flow from <a href="https://www.linkedin.com/in/jonanhtran/">Jonathan Tran</a></figcaption></figure><p>Migrating a component from an old system to a new one provides a great opportunity to redesign that component and refactor its code.</p><p>We first need to understand any current or new use cases for said component. We solve this by auditing our app and conducting an exercise based on our customers and their needs.</p><p>Here are the findings from our exercise for &lt;StepList /&gt;:</p><p><strong>Customer journey and scenarios</strong></p><p><em>When will the customer interact with this component?</em></p><ul><li>On the app’s landing page.</li><li>Setting expectations within a new feature or process in the product.</li></ul><p><strong>Goals</strong></p><p><em>What is the customer trying to accomplish with this component?</em></p><ul><li>They want to see <strong>how many steps</strong> they need to finish a task.</li><li>They want to <strong>track the progress</strong> of a task and report it to someone.</li><li>They want to know <strong>how long</strong> a task will take.</li><li>They want to know if a step is <strong>required or optional</strong>.</li><li>They want to know the <strong>status of individual steps</strong>.</li><li>They want to know if they can <strong>assign a step</strong> to someone.</li><li>They want to be <strong>notified by Gusto when a step is completed</strong> either in-app or out-of-app.</li><li>They want to <strong>notify the admin</strong> of their organization of the status of individual steps.</li></ul><p><strong>Motivations</strong></p><p><em>What is motivating the customer to use this component?</em></p><ul><li>They need to <strong>complete a task</strong>.</li><li>They want to <strong>get paid or pay employees</strong>.</li><li>They want to <strong>be in compliance</strong> with state and federal law and Gusto.</li></ul><p><strong>Mindset</strong></p><p><em>What headspace is the customer in while using this component?</em></p><ul><li>They might feel <strong>overwhelmed</strong> with new information.</li><li>They might feel <strong>confident</strong> when they see all the steps laid out in front of them.</li><li>They might feel <strong>unsure</strong> that they have all the necessary documents or information to complete the steps.</li></ul><p>This part is especially important because when a customer is stressed or overwhelmed, they may have trouble processing a lot of information. We need to simplify potentially stressful experiences as much as possible, while still ensuring we cover all use cases.</p><h3><strong>Research and auditing</strong></h3><p>At this point, we had a good understanding of what problems this component could solve. I next turned outwards to see how other design systems are building similar components.</p><p>I always want to ensure that we follow the best practices and build something <a href="https://youtu.be/lHRuIA7cyU0?t=489">ergonomic</a> and familiar to designers <em>and</em> engineers. I do this by auditing around a dozen similar components’ APIs. This helps me to make recommendations and design decisions.</p><p>The term API is an acronym, and it stands for “application programming interface.”</p><blockquote>“Think of an API like a menu in a restaurant. The menu provides a list of dishes you can order, along with a description of each dish. When you specify what menu items you want, the restaurant’s kitchen does the work and provides you with some finished dishes. You don’t know exactly how the restaurant prepares that food, and you don’t really need to.”</blockquote><blockquote><a href="https://www.howtogeek.com/343877/what-is-an-api/">-Howtogeek.com</a></blockquote><figure><img alt="A Google spreadsheet of multiple component APIs" src="https://cdn-images-1.medium.com/max/1024/1*-CKVbQfEIog4FJc_IhwO0g.png" /><figcaption>The audit of 12 APIs for my research</figcaption></figure><p>Here are the APIs I looked at with Jordan:</p><ol><li><a href="https://ant.design/components/steps/">Ant Design</a></li><li><a href="https://elastic.github.io/eui/#/navigation/steps">Elastic UI</a></li><li><a href="https://baseweb.design/components/progress-steps/">Base Web</a></li><li><a href="https://react.lightningdesignsystem.com/components/progress-indicators/">Lighting Design System for React</a></li><li><a href="https://design.synerise.com/docs/components/stepper/">Colloid Design System</a></li><li><a href="https://mui.com/material-ui/react-stepper/#vertical-stepper">MUI</a></li><li><a href="https://orbit.kiwi/components/progress-indicators/wizard/">Orbit</a></li><li><a href="https://www.duetds.com/components/stepper/">Duet Design System</a></li><li><a href="https://react.sparkdesignsystem.com/?path=/docs/components-stepper--default-story">Spark Design System</a></li><li><a href="https://carbondesignsystem.com/components/progress-indicator/usage/">Carbon Design System</a></li><li><a href="https://www.telerik.com/kendo-react-ui/stepper/">KendoReact</a></li></ol><p>I also included our old &lt;StepList /&gt; component and Jordan and I found a few accessibility issues to address.</p><p>After my audit was complete, I felt confident about what to propose for the component’s features. I also realized that we should probably call our component &lt;Timeline /&gt; and its children &lt;TimelineStep /&gt; s versus &lt;StepList /&gt; and &lt;Step /&gt;. Normally I like to use a more common name, but our use cases heavily influenced the name change since time was a prominent factor in this component.</p><h3>API/design explorations and reviews</h3><p>This step is where the real fun begins. At this stage, we know where and how this component will be used, and how other design systems have built similar components.</p><p>Loaded with all this information, I started some design explorations in Figma and eventually built a prototype in <a href="https://codesandbox.io/">CodeSandbox</a>.</p><p>Some designers like to build prototypes in Figma or a similar tool, but I prefer to code where possible. This helps me to better understand any technical constraints and continue to grow my technical skillset.</p><p>Along with my prototype, I leaned on Jordan’s expertise to flesh out the API and code.</p><p>The initial API (in TypeScript) looked something like this:</p><pre>interface TimelineStepProps {<br>   children?: React.ReactNode;<br>   status?: &quot;inactive&quot; | &quot;active&quot; | &quot;partial&quot; | &quot;success&quot;;<br>   title?: string;<br>   subtitle?: string;<br>}</pre><figure><img alt="A coded prototype inside of CodeSandbox" src="https://cdn-images-1.medium.com/max/1024/1*bMEI6co_cMyHes3jkpb2Hg.png" /><figcaption>The prototype that I built in Codesandbox</figcaption></figure><p>We use the <a href="https://reactjs.org/docs/composition-vs-inheritance.html">composition</a> model when it comes to constructing our components, leaving control up to the consumers. This results in minimal enforcement of our components and heavy reliance on guidance in our documentation. It also minimizes the number of props on the component.</p><p>So the above API (in TypeScipt) turned into:</p><pre>interface TimelineStepProps {<br>   children?: React.ReactNode;<br>   status?: &quot;inactive&quot; | &quot;active&quot; | &quot;partial&quot; | &quot;success&quot;<br>   ̶t̶i̶t̶l̶e̶?̶:̶ ̶s̶t̶r̶i̶n̶g̶;̶<br>   s̶u̶b̶t̶i̶t̶l̶e̶?̶:̶ ̶s̶t̶r̶i̶n̶g̶;̶<br>}</pre><p>There really was no need to define title or subtile properties since we have a <a href="https://workbench.gusto.com/components/heading/#reach-skip-nav">&lt;Heading /&gt;</a> component that gives our consumers the flexibility to define the heading level with a level prop and font-size with a typePreset prop. This means that instead of constructing our &lt;TimelineStep /&gt; like this:</p><pre>&lt;li&gt;<br>  &lt;h3&gt;<br>    &lt;div&gt;{title}&lt;/div&gt;<br>    &lt;div&gt;{subtitle}&lt;/div&gt;<br>  &lt;/h3&gt;<br>  {children}<br>&lt;/li&gt;</pre><p>we’d construct it like this:</p><pre>&lt;li&gt;<br>  {children}<br>&lt;/li&gt;</pre><p>and our consumers could compose like this:</p><pre>&lt;TimelineStep&gt;<br>  &lt;Heading level={3}&gt;<br>    &lt;HeadingText&gt;Step title&lt;/HeadingText&gt;<br>    &lt;HeadingSubtext&gt;Step subtitle&lt;/HeadingSubtext&gt;<br>  &lt;/Heading&gt;<br>  {/* additional content goes here */}<br>&lt;/TimelineStep&gt;</pre><p>Again, less restrictive and more flexible.</p><p>Once I had some artifacts to show, I did a few reviews with product designers that I knew were going to use this component. They provided great feedback and context for us to leverage.</p><h3>Accessibility research</h3><p>If you want your digital experiences to be accessible, you have to do the work to produce accessible components.</p><p>Accessibility is always at the forefront when creating components. But we really dig deep while building and writing documentation. We lean heavily on <a href="https://www.w3.org/">W3C</a> when making design and engineering decisions for our components. We also do accessibility testing including using screen readers on our components before shipping them.</p><p>Here are some of the accessibility considerations for &lt;Timeline /&gt;:</p><ul><li>The icon and its background meet the minimum requirements of a 3:1 contrast ratio for non-text content.</li><li>It is not recommended to skip steps or move in a non-linear direction. Each step’s status should be set to success before moving to the next step.</li><li>An h2 is recommended to describe what task the Timeline is outlining.</li><li>The Timeline implements an &lt;ol&gt; and the Timeline Step implements an &lt;li&gt;.</li><li>This component uses <a href="https://workbench.gusto.com/components/visuallyhidden/">visuallyHidden</a> text (and not aria-current) to announce to the screen reader the status of the step.</li><li>Wrap dates and times in a &lt;time&gt; element with an appropriate datetime.</li></ul><p><em>Curious about our sources? Take a peek:</em></p><ol><li>W3C: <a href="https://www.w3.org/WAI/WCAG21/Understanding/non-text-contrast.html">Understanding Success Criterion 1.4.11: Non-text Contrast</a></li><li>W3C: <a href="https://www.w3.org/TR/WCAG20-TECHS/H48.html">H48: Using ol, ul and dl for lists or groups of links</a></li><li>W3C: <a href="https://www.w3.org/WAI/WCAG21/Understanding/meaningful-sequence">Understanding Success Criterion 1.3.2: Meaningful Sequence</a></li><li>W3C: <a href="https://www.w3.org/TR/2017/REC-wai-aria-1.1-20171214/#aria-current">Accessible Rich Internet Applications (WAI-ARIA) 1.1: Aria Current</a></li><li>W3C: <a href="https://www.w3.org/WAI/tutorials/forms/labels/#note-on-hiding-elements">Labeling Controls: Note on hiding elements</a></li><li>WebAIM: <a href="https://webaim.org/techniques/css/invisiblecontent/">CSS in Action: Invisible Content Just for Screen Reader Users</a></li><li>Go Make Things: <a href="https://gomakethings.com/revisting-aria-label-versus-a-visually-hidden-class/">Revisiting aria-label versus a visually hidden class</a></li><li>MDN Web Docs: <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time">&lt;time&gt;: The (Date) Time element</a></li></ol><h3>Design and engineering specs</h3><p>After a few feedback loops and reviews with product designers and my team, I created a design spec. This document contains a component blueprint and best practices. The design spec is the handoff artifact that I provide our engineers. They use it to build the component and populate our <a href="https://workbench.gusto.com/components/timeline/">documentation site</a>.</p><figure><img alt="The Timeline design spec inside of Figma" src="https://cdn-images-1.medium.com/max/1024/1*vcfOrhiUMjWsqgZbgtHjXA.png" /><figcaption>The design spec for &lt;Timeline /&gt; inside of Figma</figcaption></figure><p>Working through this documentation helps us to flush out all the details and semantics before the final build. The design spec covers:</p><ol><li>Anatomy and component blueprint (sizing, padding, margins, etc.)</li><li>Design tokens</li><li>Best practices and examples</li><li>Customer problems the component should solve</li></ol><p>Alongside my design spec, Jordan built out his engineering spec. The eng spec covers:</p><ol><li>Semantic tags</li><li>DOM (<a href="https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model/Introduction">Document Object Modal)</a></li><li>API</li><li>Slots and composable areas</li><li>Auxiliary components and props</li><li>How might an engineer might use it</li><li>Known use cases</li><li>CSS considerations</li><li>Accessibility factors</li><li>Interactivity</li></ol><h3>The Figma component build</h3><p>We now are ready to construct our component. Jordan went to work on his final build in React and I built the component inside of Figma.</p><p>As I mentioned earlier, we like to leverage composition with our components, but we are more opinionated regarding our Figma components. We do this for ease of use, convenience, and guidance.</p><p>To be more designer-centric in Figma, we opt to use title casing for our component and prop names, separate compound words, and omit brackets. So in code, we would write &lt;Timeline /&gt; and &lt;TimelineStep /&gt;and in Figma, we’d just write Timeline and Timeline Step.</p><p>Let’s review Timelineand Timeline Step inside of Figma:</p><figure><img alt="Hovering over the Timeline component inside of Figma. The tooltip reads, “Timeline is a group of steps in a prescribed order with statuses that reflect progress. Adjustable subcomponents: Timeline Step.”" src="https://cdn-images-1.medium.com/max/1024/1*_ipIbl1GmLXl4Y2MtImIdw.png" /><figcaption>What a designer sees when searching “timeline” inside of Figma’s asset pannel</figcaption></figure><p>Out-of-the-box, Timeline handles some logic and lets the user define a step count from 3 to 10.</p><figure><img alt="The API for Timeline inside of Figma" src="https://cdn-images-1.medium.com/max/1024/1*s2dI8KLZy_C79MvURckWLA.png" /><figcaption>The Figma API for Timeline</figcaption></figure><p>In the image below, the left side is what Timeline looks like once dragged onto a designer’s canvas in Figma, and on the right is how an engineer might compose it in code.</p><figure><img alt="A design and code example of Timeline" src="https://cdn-images-1.medium.com/max/1024/1*X1SspV8_zULU2JD_6OLTkQ.png" /><figcaption>(From left) the Timeline inside of Figma and how it could be composed in code</figcaption></figure><p>If a designer needs more than 10 or less than 3 steps (which is not recommended) — they can import the Timeline Step component and compose their own Timeline.</p><figure><img alt="Hovering over the Timeline Step component inside of Figma. The tooltip reads, “Adjustable subcomponents: Heading, Placeholder Box, Button, Link, Tag.”" src="https://cdn-images-1.medium.com/max/1024/1*Jsh_oshUibJfyGS6uyX1Xw.png" /><figcaption>What a designer sees when searching “timeline” inside of Figma’s asset pannel</figcaption></figure><p>The Timeline Step in Figma is quite a bit more configurable than Timeline. I try to anticipate all the common use cases for a component and enforce guidance through props.</p><p>Let’s break down the API:</p><figure><img alt="The API for Timeline Step inside of Figma" src="https://cdn-images-1.medium.com/max/1024/1*q4XnnONg7P2Kx-_d1wntXA.png" /><figcaption>The Figma API for Timeline Step</figcaption></figure><h4>The Action prop</h4><p>I always sort the props in Figma from A-Z. So let’s start with Action.</p><p>The Action prop is a boolean that adds either a Button or a Link depending on what the Status is defined as.</p><figure><img alt="The API for Timeline Step inside of Figma. The Action prop is highlighted." src="https://cdn-images-1.medium.com/max/1024/1*xmA6tvYu3yqRHVCFCqRgGQ.png" /><figcaption>The Action prop inside of Figma</figcaption></figure><p>To maintain our action <a href="https://workbench.gusto.com/components/button/#:~:text=Limit%20pages%20to%20one%20primary%20CTA%20per%20page.%20Secondary%20or%20tertiary%20buttons%20or%20links%20should%20be%20used%20for%20secondary%20tasks.">hierarchy,</a> we only <a href="https://workbench.gusto.com/components/timeline/usage/#actions-in-steps">recommend rendering a single primary button</a> in Timeline at a time. Designers don’t have to worry about which style to select since the type of action will change for them in Figma when they configure the Status prop.</p><figure><img alt="Examples of Timeline Step inside of Figma" src="https://cdn-images-1.medium.com/max/1024/1*wG2XO01lQDpCT3uVhXpBbw.png" /><figcaption>Examples of Timeline Step inside of Figma with different actions</figcaption></figure><p>If Action is true and:</p><ul><li>If Status=&quot;Inactive&quot; <em>then </em>no Buttonor Linkis rendered.</li><li>Or if Status=&quot;Active&quot; <em>then</em> a primary Button is rendered.</li><li>Or if Status=&quot;Partial&quot; <em>then</em> a primary Button is rendered.</li><li>Or if Status=&quot;Success&quot; <em>then</em> a Link is rendered.</li></ul><p><em>Keep in mind, in code, these actions would either be links styled as buttons or vice versa depending on if the user is completing something on the page or being taken to a new page.</em></p><h4>The Placeholder prop</h4><p>My workaround for <a href="https://reactjs.org/docs/composition-vs-inheritance.html#containment">children</a> in Figma is to pass in a prop called Placeholder which acts as a catch-all.</p><figure><img alt="The API for Timeline Step inside of Figma. The Placeholder prop is highlighted." src="https://cdn-images-1.medium.com/max/1024/1*FhRIONSZID0VDf6FnwONIA.png" /><figcaption>The Placeholder prop in Figma</figcaption></figure><p>We don’t want designers to “break” components inside Figma. Doing so would result in not being in sync with the Design System and its updates. When Placeholder is true a component called Placeholder Box is rendered and all content is cleared except for the Headingcomponent. This allows designers to swap in a local component.</p><figure><img alt="A GIF of swapping out the Placeholder Box component for a local component inside of Figma" src="https://cdn-images-1.medium.com/max/1024/1*ffUGlaWYoPXaBIQA9w5ieg.gif" /><figcaption>An example of swapping out the Placeholder Box component for a local component inside of Figma</figcaption></figure><h4>The Status prop</h4><p>In addition to determining what type of action to render, the Status prop handles the styling of the circle and line next to the step’s content.</p><figure><img alt="The API for Timeline Step inside of Figma. The Status prop is highlighted." src="https://cdn-images-1.medium.com/max/1024/1*3coJE1KN4mFJ8yDHScPMwg.png" /><figcaption>The Status prop in Figma</figcaption></figure><ul><li>If Status=&quot;Inactive&quot; the border-color of the circle is $salt-700, the background-color of the circle is $salt-100, the line’s border-style is dashed, and the line’s border-color is $salt-700.</li><li>If Status=&quot;Active&quot; the border-color of the circle changes to $kale-800.</li><li>If Status=&quot;Partial&quot; a half circle with the background-color of $kale-800 is rendered inside of the circle and the border-color of the circle changes to $kale-800.</li><li>If Status=&quot;Success&quot; the background-color of the circle changes to $kale-800, the line’s border-style changes to solid, the line’s border-color changes to $kale-800 and the Check icon is rendered inside the circle with a color of $salt-100. If the step is the last step, there is no line.</li></ul><figure><img alt="Examples of Timeline Step inside of Figma" src="https://cdn-images-1.medium.com/max/1024/1*P6b5BjT8WLRAYfXsOWB70g.png" /><figcaption>Examples of Timeline Step inside of Figma with different states</figcaption></figure><h4>The Step Order prop</h4><p>The Step Order prop is only relevant in the edge cases where a designer needs more than 10 steps but less than 2. This prop handles the styling and conditional rendering of the line next to the step’s content.</p><figure><img alt="The API for Timeline Step inside of Figma. The Step Order prop is highlighted." src="https://cdn-images-1.medium.com/max/1024/1*dPULkJpA0EPGZ3zjIX3YYw.png" /><figcaption>The Step Order prop in Figma</figcaption></figure><ul><li>If Step Order=&quot;First&quot; a line is only rendered below the circle</li><li>If Step Order=&quot;Middle&quot; a line is rendered both above and below the circle.</li><li>If Step Order=&quot;Last&quot; a line is only rendered above the circle and the padding-bottom of the step’s content is set to 0px.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q_xf-IU9du9HiGoKAoHYVA.png" /><figcaption>Examples of Timeline Step inside of Figma with different orders</figcaption></figure><p>In reality, we would not provide a prop for this case in code, rather, in our Timeline.css we could write something like this:</p><pre>/* hides line on last step */<br>li:nth-last-child(1) .timeline-step_progress-line {<br>display: none;<br>}<br>/* removes padding from bottom on last step */<br>li:nth-last-child(1) .timeline-step_content {<br>padding-bottom: 0;<br>}</pre><h4>The Tag prop</h4><p>The Tag prop is a boolean that adds a Tag.</p><figure><img alt="The API for Timeline Step inside of Figma. The Tag prop is highlighted." src="https://cdn-images-1.medium.com/max/1024/1*jXldL9ZWBJxOGn36GOcFCQ.png" /><figcaption>The Tag prop in Figma</figcaption></figure><p>The name of this prop initially came from our <a href="https://workbench.gusto.com/components/card/#props">&lt;CardHeader /&gt;</a> component where we have a predefined slot for a &lt;Tag /&gt; or multiple &lt;Tag /&gt;s called tags. In code, we would pass &lt;Tag /&gt; or multiple &lt;Tag /&gt;s to &lt;CardHeader /&gt; like:</p><pre>&lt;Card&gt;<br>   &lt;CardHeader<br>      illustration={&lt;PalmTree /&gt;}<br>      tags={&lt;Tag variant=&quot;filled&quot;&gt;New&lt;/Tag&gt;}<br>      &lt;Heading level={3}&gt;Location tools&lt;/Heading&gt;<br>   &lt;/CardHeader&gt;<br>   &lt;CardBody&gt;<br>      {...}<br>   &lt;/CardBody&gt;<br>   &lt;CardFooter&gt;<br>      {...}<br>   &lt;/CardFooter&gt;<br>&lt;/Card&gt;</pre><p>Which would render:</p><figure><img alt="Card component example using the Tag component" src="https://cdn-images-1.medium.com/max/1024/1*4qKs_ZuPLsLH7U85EZkl3A.png" /><figcaption>&lt;Card /&gt; example using a &lt;Tag /&gt;</figcaption></figure><p>I only identified the need for a single Tag in Figma so I stuck with the name Tag for the prop.</p><figure><img alt="A composed Timeline example in Figma" src="https://cdn-images-1.medium.com/max/1024/1*f-Jx1MbKgFeosGxfRBSdnw.png" /><figcaption>Examples of Timeline inside of Figma with a tag inside the first step</figcaption></figure><p>In <a href="https://workbench.gusto.com/components/timeline/#with-error-state">code</a>, we’d simply pass a &lt;Tag /&gt; into the children slot, but it helps our designers to provide them with this option.</p><h3>The React component build</h3><p>The title of this step is a bit deceptive since prototyping is done earlier to determine how feasible the designs are. So, by this stage, Jordan had already built his own &lt;Timeline /&gt; prototype and he went to work on finalizing the build. In this final build, he ensured that:</p><ul><li>The API was consistent and aligned with developer expectations.</li><li>The component met or exceeded <a href="https://www.w3.org/TR/WCAG21/">WCAG 2.1 AA standards</a>.</li><li>Competitive research was leveraged.</li></ul><h3>Usage guidelines and final documentation</h3><p>Our documentation aims to provide clear guidance on component usage, accessibility, and implementation. We combine the design and engineering specs as well as add some additional context such as accessibility notes and resources. Once we are confident with a working draft, we share out with the broader design systems team for review. After collecting feedback and making changes, our documentation is ready.</p><figure><img alt="The accessibility section of the Timeline documentation inside of the Workbench website" src="https://cdn-images-1.medium.com/max/1024/1*jtZd-Tv-y5b9rE4I6TYjAA.png" /><figcaption>The <a href="https://workbench.gusto.com/components/timeline/#accessibility">accessibility section</a> on the &lt;Timeline /&gt; page in Workbench</figcaption></figure><h3>Final checks and shipping</h3><p>Before we ship the component in Figma and code, we perform final checks.</p><p>Inside of Figma, we check for:</p><ul><li>Consistent layer names</li><li>Consistent prop names and prop orders</li><li>Typos</li><li>Variant testing</li><li>Propper layout</li><li>Responsiveness</li><li>Common use cases</li><li>Customization</li></ul><p>The lead engineer on the component will perform extensive accessibility and performance testing including:</p><p><em>Depending on the component some of the following may not apply.</em></p><ul><li>Screenreader testing across browsers.</li><li>Responsiveness and <a href="https://www.w3.org/WAI/WCAG21/Understanding/reflow.html">reflow</a> testing across browsers.</li><li>Checking and confirming the accessibility attributes such as the name, description, and role.</li><li>Creating <a href="https://workbench.gusto.com/components/timeline/#examples">examples</a> of how a consumer would consume the component.</li><li>Testing any animations, and creating interactive examples.</li><li>Checking the different variation combinations. Testing the happy, unhappy, and very happy paths.</li><li>If the component is using a <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout">flex</a> or <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout">grid</a> layout ensuring it behaves appropriately when scaling.</li><li>Testing different types of content and the content overflow.</li><li>Testing <a href="https://workbench.gusto.com/components/timeline/#with-error-state">error states</a>.</li><li>Testing mouse and keyboard interactions e.g. hover, focus, disabled, etc.</li><li>Testing on a mobile device e.g iPhone or Android.</li><li>Testing voice control.</li></ul><h4>Ready to ship</h4><p>Now that we have our Figma component, coded component, and documentation, we release. It’s important to let our designers and engineers know when new components are available, so we will publish this news in a Slack channel, inside of the Figma release notes, and in our newsletter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9g1tgUDHEdbXW2EEUdgfFg.png" /><figcaption>&lt;Timeline /&gt; replacing &lt;StepList /&gt; in the previously mentioned tax registration flow from <a href="https://www.linkedin.com/in/jonanhtran/">Jonathan Tran</a></figcaption></figure><h3>Final thoughts</h3><p>If you have made it this far in the article, thank you! We appreciate you taking the time to learn about our work. While we have a well-defined process, we know that we can always improve and are ever-evolving.</p><p>Stay tuned for updates by following this publication on Medium and <strong>show your support by clicking the 👏 “clap” button and leaving a comment!</strong></p><h3>Sources</h3><ol><li>Ferdinandi, C. (2020, July 21). <em>Revisiting aria-label versus a visually hidden class</em>. Go Make Things. Retrieved July 7, 2022, from <a href="https://gomakethings.com/revisting-aria-label-versus-a-visually-hidden-class/">https://gomakethings.com/revisting-aria-label-versus-a-visually-hidden-class/</a></li><li>Hoffman, C., &amp; Duino, J. (2021, August 12). <em>What is an API, and how do developers use them?</em> What Is an API, and How Do Developers Use Them? Retrieved July 7, 2022, from <a href="https://www.howtogeek.com/343877/what-is-an-api/">https://www.howtogeek.com/343877/what-is-an-api/</a></li><li>Meta Platforms, Inc. (n.d.). <em>Composition vs inheritance</em>. React. Retrieved July 7, 2022, from <a href="https://reactjs.org/docs/composition-vs-inheritance.html">https://reactjs.org/docs/composition-vs-inheritance.html</a></li><li>Perrier, J.-Y., et al. (2022, May 20). <em>CSS Grid Layout — CSS: Cascading Style Sheets: MDN</em>. CSS: Cascading Style Sheets | MDN. Retrieved July 11, 2022, from <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout">https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout</a></li><li>Perrier, J.-Y., et al. (2022, May 27). <em>CSS flexible box layout — CSS: Cascading style sheets: MDN</em>. CSS: Cascading Style Sheets | MDN. Retrieved July 11, 2022, from <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout">https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout</a></li><li>Perrier, J.-Y., et al. (2022, May 27). <em>Introduction to the DOM — web apis: MDN</em>. Web APIs | MDN. Retrieved July 7, 2022, from <a href="https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model/Introduction">https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model/Introduction</a></li><li>W3C. (n.d.). <em>Accessible Rich Internet Applications (WAI-ARIA) 1.1</em>. Web Accessibility Initiative (WAI). Retrieved July 7, 2022, from <a href="https://www.w3.org/TR/2017/REC-wai-aria-1.1-20171214/#aria-current">https://www.w3.org/TR/2017/REC-wai-aria-1.1-20171214/#aria-current</a></li><li>W3C. (n.d.). <em>H48: Using OL, UL and DL for lists or groups of links</em>. Web Accessibility Initiative (WAI). Retrieved July 7, 2022, from <a href="https://www.w3.org/TR/WCAG20-TECHS/H48.html">https://www.w3.org/TR/WCAG20-TECHS/H48.html</a></li><li>W3C. (n.d.). <em>Labeling controls</em>. Web Accessibility Initiative (WAI). Retrieved July 7, 2022, from <a href="https://www.w3.org/WAI/tutorials/forms/labels/#note-on-hiding-elements">https://www.w3.org/WAI/tutorials/forms/labels/#note-on-hiding-elements</a></li><li>W3C. (n.d.). <em>Understanding Success Criterion 1.3.2: Meaningful Sequence</em>. Web Accessibility Initiative (WAI). Retrieved July 7, 2022, from <a href="https://www.w3.org/WAI/WCAG21/Understanding/meaningful-sequence">https://www.w3.org/WAI/WCAG21/Understanding/meaningful-sequence</a></li><li>W3C. (n.d.). <em>Understanding Success Criterion 1.4.10: Reflow</em>. Understanding success criterion 1.4.10: Reflow. Retrieved July 7, 2022, from <a href="https://www.w3.org/WAI/WCAG21/Understanding/reflow.html">https://www.w3.org/WAI/WCAG21/Understanding/reflow.html</a></li><li>W3C. (n.d.). <em>Understanding Success Criterion 1.4.11: Non-text Contrast</em>. Web Accessibility Initiative (WAI). Retrieved July 7, 2022, from <a href="https://www.w3.org/WAI/WCAG21/Understanding/non-text-contrast.html">https://www.w3.org/WAI/WCAG21/Understanding/non-text-contrast.html</a></li><li>W3C. (n.d.). <em>Web content accessibility guidelines (WCAG) 2.1</em>. W3C. Retrieved July 12, 2022, from <a href="https://www.w3.org/TR/WCAG21/">https://www.w3.org/TR/WCAG21/</a></li><li>WebAIM. (n.d.). <em>CSS in Action Invisible Content Just for Screen Reader Users</em>. WebAIM. Retrieved July 7, 2022, from <a href="https://webaim.org/techniques/css/invisiblecontent/">https://webaim.org/techniques/css/invisiblecontent/</a></li><li>Wilhelm, A. (2021, June 30). <em>Gusto is now offering pieces of its service to other companies via API</em>. TechCrunch. Retrieved July 11, 2022, from <a href="https://techcrunch.com/2021/06/30/2171608/">https://techcrunch.com/2021/06/30/2171608/</a></li><li>Xue, F. (2022, March 4). <em>: The (date) time element — HTML: Hypertext markup language: MDN</em>. MDN Web Docs. Retrieved July 7, 2022, from <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time</a></li><li>YouTube. (2018). <em>React already did that — Developer ergonomics in 2018 — Dylan Schiemann — JSConf Us 2018</em>. <em>YouTube</em>. Retrieved July 7, 2022, from <a href="https://www.youtube.com/watch?v=lHRuIA7cyU0&amp;t=489s.">https://www.youtube.com/watch?v=lHRuIA7cyU0&amp;t=489s.</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7b6a232508b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/gusto-design/building-workbench-b7b6a232508b">Building Workbench</a> was originally published in <a href="https://medium.com/gusto-design">Gusto Design</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dear “junior” UX designers]]></title>
            <link>https://medium.com/design-bootcamp/dear-junior-ux-designers-398f08ae18e6?source=rss-da2eadade64------2</link>
            <guid isPermaLink="false">https://medium.com/p/398f08ae18e6</guid>
            <category><![CDATA[mentorship]]></category>
            <category><![CDATA[resources]]></category>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[careers]]></category>
            <dc:creator><![CDATA[Josh Cusick]]></dc:creator>
            <pubDate>Wed, 29 Dec 2021 12:20:35 GMT</pubDate>
            <atom:updated>2024-08-21T16:52:24.546Z</atom:updated>
            <content:encoded><![CDATA[<h4>6 career tips (with love) from a Senior Product Designer</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vh4fX_eGKgAI6sJZELP0sg.jpeg" /><figcaption>Illustration by Sarah Yu for this article</figcaption></figure><p><em>Dear “Junior” Designers,</em></p><p><em>This is an open letter from the point of view of a Senior Product Designer. My hope for this letter is to equip you with encouragement as well as the actionable insight that will help you become more competitive in your job hunt.</em></p><p><em>My intention is not to come across as harsh or brazen, but I will tell “it” like it is – brutally honest.</em></p><p><em>Before you continue reading this, I want to challenge you to close your eyes, take a slow, deep breath in and then pat yourself on the back. You’ve got this far, and it will be ok.</em></p><p><em>This time will arguably be one of, if not, the most challenging moments of your career as a UX Designer. Bargaining with clients, recruiters, and hiring managers just to get my foot in the door was just as soul-crushing for me as it is for you. I get it.</em></p><p><em>If you’d like a bit of encouragement, you can watch my story of how I went from unemployed to designing at Microsoft with no degree or bootcamp.</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FXbU3hsIIDNY%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DXbU3hsIIDNY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FXbU3hsIIDNY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0f085eb049d89376fb74382f766aaf26/href">https://medium.com/media/0f085eb049d89376fb74382f766aaf26/href</a></iframe><p><em>Don’t give up home. Keep learning. If this is meant to be, it will be.</em></p><h3>Tip #1: Stop calling yourselves “junior”</h3><figure><img alt="two children holding hands looking out into the ocean" src="https://cdn-images-1.medium.com/max/1024/1*ruhOMuqEWvWZ9klkACNDOQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@tdederichs?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Torsten Dederichs</a> on <a href="https://unsplash.com/s/photos/child-hands-up?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>As you might have guessed, there is a reason I keep writing the word junior in parenthesis. Maybe it’s just me, but I feel that using this word only hinders your attempts to “break” into the UX career field.</p><p><em>But why?</em></p><p>You are automatically placing yourself into a category that you probably don’t want to be in. When a recruiter or hiring manager looks at your LinkedIn or resume and sees the word “junior” prefacing your title, there WILL be assumptions and biases made. Besides, what is the difference between a Junior UX Designer and a UX Designer that just started? Anyone? Anyone?</p><figure><img alt="an animated image showing a scene from the movie Ferris Bueller’s Day Off" src="https://cdn-images-1.medium.com/max/640/0*xqnv9SOA_vj9xeOA.gif" /><figcaption>A scene from the movie <a href="https://www.youtube.com/watch?v=KS6f1MKpLGM">Ferris Bueller’s Day Off</a></figcaption></figure><p>I often tell my mentees<strong> you are what you call yourself</strong>. In my experience, it is <em>extremely</em> rare to see a company use the word “junior” in an official designer’s title.</p><p>For example, when I was at Microsoft, this was how the role hierarchy was structured:</p><ul><li><strong>UX Designer</strong> (bands 59–60)</li><li><strong>UX Designer II</strong> (bands 61–62)</li><li><strong>Sr. UX Designer</strong> (bands 63–64)</li><li><strong>Principal UX Designer</strong> (bands 65–67)</li></ul><p><em>Takeaway: if you want to be taken more seriously, just call yourself a UX Designer or Product Designer.</em></p><h3>Tip #2: <strong>Stop using UX/UI in your titles and job descriptions</strong></h3><figure><img alt="mug with that says hello my name is" src="https://cdn-images-1.medium.com/max/1024/1*3uiQwGaeEh5uPSnwXhV-QQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@timmossholder?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Tim Mossholder</a> on <a href="https://unsplash.com/s/photos/name?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>I see this one all too much and it is a bit of a pet peeve. It is paradoxical since a UX Designer works on UI, so what is a <em>UI Designer</em>? I have never actually worked with someone whose official title is “UI Designer.”</p><p>Frankly, this is a red flag for me when I see this on either an applicant’s profile or resume or a job posting. It implies a lack of understanding of what a UX or Product Designer <em>actually</em> does, which can (<em>and usually does</em>) include UI design.</p><p>Try not to be hard on yourself though, I’ve personally been guilty of claiming UX/UI in a job title in the past 🤫 (not anymore though).</p><p>I encourage you to do some competitive research and see look at companies you admire for their design and note what they are calling their designers. See some examples below.</p><figure><img alt="screenshot of Netflix job postings on LinkedIn" src="https://cdn-images-1.medium.com/max/1024/1*VephBTCeVMkjolkxRyFLlw.png" /><figcaption>Netflix uses the title “Product Designer”</figcaption></figure><figure><img alt="screenshot of IBM job postings on LinkedIn" src="https://cdn-images-1.medium.com/max/1024/1*_2lL5tWXa-qJHYZjTudWzA.png" /><figcaption>IBM uses the title “User Experience Designer”</figcaption></figure><figure><img alt="screenshot of Apple job postings on LinkedIn" src="https://cdn-images-1.medium.com/max/1024/1*jsmCPiAhf2BjyqUV9sF90w.png" /><figcaption>Apple uses the title “Product Designer”</figcaption></figure><figure><img alt="screenshot of LinkedIn job postings on LinkedIn" src="https://cdn-images-1.medium.com/max/1024/1*p5BWGzyIQ_9sUbsOIirbbg.png" /><figcaption>LinkedIn uses the title “Product Designer”</figcaption></figure><p><em>Takeaway: you might be noticing a theme here. Which is, look at what the industry is doing. A little competitive research never hurts.</em></p><h3>Tip #3: Simple is better and less is more</h3><figure><img alt="a minimal white room with a large window open looking out into nature" src="https://cdn-images-1.medium.com/max/1024/1*O0dOSfID0SRcZwkgN16ZHQ.jpeg" /><figcaption>Photo credit <a href="https://minimalissimo.com/">Minimalissimo</a></figcaption></figure><p>I made the mistake early on when I designed my first portfolio of going a little crazy with the gradients and wild “unconventional” pattens. Let me remind you: your portfolio can stand out, but don’t overdo it.</p><p>You don’t have to be fancy or over-creative when it comes to your portfolio&#39;s template. Remember, you want your site to be easy to use and simple. In fact, I’d recommend using a template from <a href="https://www.squarespace.com/templates/browse/topic/personal-cv">Squarespace</a> or <a href="https://webflow.com/templates/tag/portfolio-websites">Webflow</a>.</p><p><a href="https://imaaronjames.medium.com/">Aaron James</a>, a Sr. Product Designer currently at Netflix, goes into great detail about this here:</p><p><a href="https://medium.com/design-bootcamp/how-to-create-a-compelling-design-portfolio-companies-will-notice-b0629fe84ca">How to create a compelling design portfolio companies will notice</a></p><p>Keep your site as minimal as possible when it comes to fonts, colors, spacing, and shadows. For example:</p><ul><li><strong>1 font family</strong></li><li><strong>1 primary color</strong> (only for CTAs such as links and buttons)</li><li><strong>1 or 2 colors for backgrounds</strong></li><li><strong>1–3 colors for font colors</strong> (used to define a hierarchy of font sizes and types e.g. title vs. body)</li><li><strong>4px or 8px sizing </strong>(everything is in increments of 4px or 8px)</li></ul><p>Think of your portfolio site like a <strong>gallery of movie trailers</strong>. In my experience, I and hiring managers usually spend anywhere between a few seconds to a few minutes reviewing candidates’ sites. I am on a mission and if I don’t like what I see, within a few seconds I am gone.</p><p>On the flip side of that, if my attention is captured within a few seconds, I tend to stay longer. Tools like <a href="https://www.hotjar.com/">Hotjar</a> and <a href="https://analytics.withgoogle.com/">Google Analytics</a> can help you understand and track your users’ behaviors and patterns.</p><p>Ask yourself, “How can I capture my user’s (aka a hiring manager or recruiter) attention in a few seconds?” — <em>all while following best UX practices and principles</em>.</p><p><em>Takeaway: keep things simple. If you can’t strongly justify a design or content decision in your portfolio, cut it out.</em></p><h3>Tip #4: You weren’t rejected, you were not selected</h3><figure><img alt="a woman with her palms together facing up holding a single yellow flower" src="https://cdn-images-1.medium.com/max/1024/1*VLz3DJw3I023dallMOe7yA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@lmtrochezz?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Lina Trochez</a> on <a href="https://unsplash.com/@lmtrochezz?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p><strong>Them<em>:</em></strong><em> “It’s not personal.”</em></p><p><strong>Me:</strong> <em>Well, it sure as s*** feels personal when my livelihood depends on getting this role or not.</em></p><p><strong>Them:</strong> “<em>Come back when you have more experience.</em>”</p><p><strong>Me:</strong> <em>How do I get experience when no one will give it to me?</em></p><p>Do either of these sound familiar? I got these responses often when I first started my career. I thought that no one was ever going to hire me.</p><p>Eventually, I realized that I should look at it from the business’s side of the table. I had practically zero relevant experience. They needed someone that had proven they could do the job and would pose little risk to their bottom line. This may suck to hear, but it’s true.</p><p><a href="https://www.youtube.com/channel/UCEDkO7wshcDZ7UZo17rPkzQ">Mayuko Inoue</a>, who has previously worked as a Sr. Engineer at <a href="https://www.netflix.com/">Netflix</a> and <a href="https://www.patreon.com/">Patreon</a>, gives a really good explanation of how a company’s resources impact whether or not they can hire an entry-level engineer vs. a senior one. This explanation translates well to hiring designers too.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fys7V9JSTE5A%3Fstart%3D541%26feature%3Doembed%26start%3D541&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dys7V9JSTE5A&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fys7V9JSTE5A%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6f46255d433a40cf9f11027f8eed7744/href">https://medium.com/media/6f46255d433a40cf9f11027f8eed7744/href</a></iframe><p>I reframed how I looked at a situation where my application was declined or I didn’t make it through to a job offer. Telling myself, “They rejected me” cast me as a victim. This made it personal as if they were actively trying to sabotage my career. When I changed to, “I was not selected” I felt much less resentment and was able to better accept the outcome.</p><blockquote>“Remember that sometimes not getting what you want is a wonderful stroke of luck.”</blockquote><blockquote>— Dalai Lama</blockquote><p>The flip side of the coin is that if a business isn’t willing to or cannot bet on you, is that a place you want to work? Businesses can’t have it both ways. They can’t expect someone else to take a risk and grow you from a seed to a prosperous fruit-bearing tree and then come along and pick your fruit. Life doesn’t work that way.</p><p>I like to bet on talent and can handle risk. Not everyone has the stomach for it, but the potential gains are astronomical. I have personally benefited from amazing people betting on me. In the end, it was worth their investment 10x. I keep this in mind when advising on hiring designers and do my best to pay the deed forward.</p><p><em>Takeaway: find someone who will bet on you and invest in you.</em></p><h3>Tip #5: Seek a mentor</h3><figure><img alt="two women sitting down facing each other working" src="https://cdn-images-1.medium.com/max/1024/1*bs7oVHG2EH42GtsBa6_oSA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@wocintechchat?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Christina @ wocintechchat.com</a> on <a href="https://unsplash.com/s/photos/mentor?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>I firmly believe that if someone has something you want, you should seek their advice on how to get that something you want.</p><p>Mentorship is the keystone of my career. My mentee needs have evolved over the years, but that has given me the chance to grow my relationships with my mentors. Recently I sought advice from my mentors when deciding if I should leave Microsoft and ultimately advice in choosing my next company.</p><p><a href="https://www.adplist.org/">ADPlist</a> is a great resource when looking for a mentor. I encourage you to check them out.</p><p>I’ve been blessed with two very amazing mentors. <a href="https://www.linkedin.com/in/droryb/">Drory Ben-Menachem</a>, the <br>Senior Director of Research &amp; Design at <a href="https://www.zonarsystems.com/">Zonar Systems</a>, and <a href="https://www.linkedin.com/in/hayhughes">Hayley Hughes</a> a Design Director at <a href="https://www.nike.com/">Nike</a>. They helped me tremendously get to where I got.</p><p>If you are into design systems, take a look at a talk that Hayley did in 2019 for <a href="https://www.awwwards.com/">awwwards</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fmq984Mc9UVA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dmq984Mc9UVA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fmq984Mc9UVA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/573cc8dd973d646da47fa3a325b04f8b/href">https://medium.com/media/573cc8dd973d646da47fa3a325b04f8b/href</a></iframe><h3>Tip #6 Craft your skillset</h3><figure><img alt="a man carving a piece of wood" src="https://cdn-images-1.medium.com/max/1024/1*kxHCBQJi2zMOwNxIshJtLA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@austin__ramsey?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Austin Ramsey</a> on <a href="https://unsplash.com/s/photos/wood-working?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>If you have watched the <a href="https://youtu.be/XbU3hsIIDNY">video</a> I linked in the beginning you’ll know how much I love to learn. I feel strongly that as designers we must continuously be learning how to be better designers and try new things.</p><p>Honing your skillet will be a lifelong task. No need to overwhelm yourself, learn at a pace that you can sustain.</p><p>If you are curious how I build and organized the Figma UI kit at Microsoft, take a gander at this article here:</p><p><a href="https://medium.com/inside-designing-microsoft-teams/keeping-things-organized-7586999982f6">Keeping Things Organized</a></p><p><em>Thank you for taking the time to read this article to the end. I wish you the very best in your career journey wherever that may be. Keep your head up, back upright, eyes forward, and keep moving. Eventually, you will get to where you need to be.</em></p><p><em>P.S. If you want to hear more advice and learn about design systems, follow me on </em><a href="https://youtube.com/channel/UC2DXl-a7JFfzOwWtJasTh-w"><em>YouTube</em></a><em>.</em></p><p><em>Warmly,<br>Josh Cusick</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=398f08ae18e6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/design-bootcamp/dear-junior-ux-designers-398f08ae18e6">Dear “junior” UX designers</a> was originally published in <a href="https://medium.com/design-bootcamp">Bootcamp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Keeping Things Organized]]></title>
            <link>https://medium.com/inside-designing-microsoft-teams/keeping-things-organized-7586999982f6?source=rss-da2eadade64------2</link>
            <guid isPermaLink="false">https://medium.com/p/7586999982f6</guid>
            <category><![CDATA[design-systems]]></category>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[figma]]></category>
            <category><![CDATA[ux-design]]></category>
            <dc:creator><![CDATA[Josh Cusick]]></dc:creator>
            <pubDate>Fri, 22 Oct 2021 13:47:12 GMT</pubDate>
            <atom:updated>2023-09-25T03:46:48.517Z</atom:updated>
            <content:encoded><![CDATA[<h4>Scaling the Microsoft Teams Component Libraries (TCL) in Figma</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k7rZaiGCU2prbbju-K4MZw.png" /><figcaption>Illustration by <a href="https://www.linkedin.com/in/devansh-parikh/">Devansh Parikh</a> for this article</figcaption></figure><p>The Teams Component Libraries (TCL) are the Figma UI kits that adopt Fluent UI components but are themed and customized for <a href="https://www.microsoft.com/en-us/microsoft-teams/group-chat-software">Microsoft Teams</a>. TCL contains four kits, covering every platform type.</p><p>This is a prescriptive article and resource that highlights how the <strong>TCL — Web &amp; Desktop</strong> kit was built, how it is maintained, and the parameters we set up for people to contribute.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0tnSBwqnIyfhNrQE8X5ufA.png" /></figure><p><strong>We will cover the following topics:</strong></p><ol><li>Structuring pages</li><li>Naming things</li><li>Aligning with code</li><li>Design tokens</li><li>Version control</li></ol><h3>1. Structuring pages</h3><p>When deciding how to structure our pages the following priorities were considered:</p><ol><li>We <em>must</em> provide clear component location endpoints.</li><li>We <em>must</em> make it easy to import components.</li><li>We <em>must</em> provide clear health status indicators of components at said endpoints.</li></ol><p><strong>The conclusion was that each component should get its own page.</strong> This makes it easier for designers to scan a page and quickly copy what they were looking for, rather than trying to visually filter out what they don’t need. The status of a component is at the top level and the designer can see this before even importing. <em>These ideas came from aligning closer to code.</em></p><figure><img alt="Figma UI showing page names ordered from A to Z with colored emojis at the end of each page name." src="https://cdn-images-1.medium.com/max/1024/1*8dR9E1Voy6Lx34gfCCXBUg.png" /><figcaption>Example showing pages in Figma sorted from A-Z and health indicators</figcaption></figure><p>A common file structure practice in React or TypeScript is to <a href="https://reactjs.org/docs/faq-structure.html#grouping-by-file-type">group by file type</a> where each component has its own subfolder nested inside a parent folder like this:</p><pre>src/components/Button/Button.tsx</pre><p><strong>💡<em> Note: </em></strong><em>src means “source.”</em></p><figure><img alt="Github UI showing Fluent UI’s repository of components." src="https://cdn-images-1.medium.com/max/1024/1*u7yKMF4UDQJ5Iu0NMa6SzQ.png" /><figcaption>In Fluent’s GitHub <a href="https://github.com/microsoft/fluentui/tree/dab45a2afe609709735b9b6e604a1af40d50e809/packages/fluentui/react-northstar/src/components">repo</a>, components each have their folder and are sorted from A-Z</figcaption></figure><h4>Page status indicators</h4><p>The name of each component page has a status emoji at the end.</p><ul><li><strong>Green</strong> (🟢) means all good and the component is healthy and ready to use.</li><li><strong>Yellow</strong> (🟡) means that the component can be used but exercise caution as it is being worked on.</li><li><strong>Red</strong> (🔴) means do not use under any circumstances; the component is unstable.</li></ul><h3>2. Naming things</h3><p>The goal is to have a 1:1 component naming <strong>parity with code</strong>, but there are a few <em>rare</em> exceptions. This principle helps designers and engineers easily communicate with each other and identify what goes where. There are a few guiding naming conventions that are used and helped inspire our naming structures. Let’s review <strong>BEM</strong> and <strong>PascalCase</strong>:</p><h4>BEM</h4><p>BEM stands for block, element, modifier.</p><p><em>Breaking this down:</em></p><ul><li><strong>Block:</strong> a standalone entity that is meaningful on its own. <em>Examples:</em> header, container, menu, checkbox, input .</li><li><strong>Element:</strong> a part of a block that has no standalone meaning and is semantically tied to its block. <em>Examples:</em> menu item, list item, checkbox caption, header title</li><li><strong>Modifier:</strong> a flag on a block or element. Use them to change appearance or behavior. <em>Examples:</em> disabled, highlighted, checked, fixed, size big, color yellow</li></ul><p>We don’t use BEM literally, more as an inspiration. If you want to learn more about how BEM works, go to <a href="http://getbem.com/">http://getbem.com/</a>.</p><h4>PascalCase</h4><p>PascalCase is a naming convention in which the first letter of each word in a compound word is capitalized.</p><blockquote>“Software <a href="https://techterms.com/definition/developer">developers</a> often use PascalCase when writing <a href="https://techterms.com/definition/sourcecode">source code</a> to name <a href="https://techterms.com/definition/function">functions</a>, <a href="https://techterms.com/definition/class">classes</a>, and other objects. PascalCase is similar to <a href="https://techterms.com/definition/camelcase">camelCase</a>, except the first letter in PascalCase is always capitalized.”</blockquote><blockquote>-<a href="https://techterms.com/definition/pascalcase">Techterms.com</a></blockquote><p>We use PascalCase when naming components.</p><h4>Layers and subcomponents</h4><p>We name layers and subcomponents to communicate semantic meaning specifically to designers and contributors to TCL. Avoid trying to map <strong>layers</strong> to CSS classes since the web implementation will not always mirror the design.</p><p>To explain how we name layers and subcomponents, let’s start with a simple example. Here is the Button component:</p><figure><img alt="Button component in Figma UI" src="https://cdn-images-1.medium.com/max/1024/1*dJwmgSF6rA4e3qm8hk8jbA.png" /><figcaption>Button component in Figma</figcaption></figure><p>Because we have 240 variants of Button inside of Figma, we have created a subcomponent.</p><blockquote>A subcomponent contains all the necessary content for a component to function properly while allowing for global, sweeping changes across multiple instances.</blockquote><p>Since we do not want this subcomponent to be available to the end-user (other designers) we prepend the name with a period and title it .Base.</p><p>If we were to have multiple subcomponents we would enumerate starting at 1 e.g. .Base1 , .Base2 , .Base3 , etc…</p><blockquote>“To prevent Figma from publishing your styles and components, you can add a prefix or modifier to the component’s name in the layers panel.</blockquote><blockquote>Figma will skip over these styles and components during the publishing process and list them in the Private to this file sections of the Assets panel and library modal.</blockquote><blockquote>• Add a period . in front of the component layer&#39;s name.</blockquote><blockquote>• Add an underscore _ to the beginning of the component layer&#39;s name.”</blockquote><blockquote>-<a href="https://help.figma.com/hc/en-us/articles/360025508373-Publish-styles-and-components#private">Figma.com</a></blockquote><p>If we wanted to make the subcomponent available to users we would not append with a period nor use the .Base method.</p><p>Rather, we would use what is in code and if that name is not available, we’d <strong>semantically</strong> name the component.</p><p>For example, in code, we do not have a subheader component for the DatepickerCalender but we do have a DatepickerCalenderHeader component. So, we’d take the lead from that component’s name and call our subheader DatepickerCalenderSubheader.</p><figure><img alt="DatepickerCalenderSubheader component in Figma UI" src="https://cdn-images-1.medium.com/max/1024/1*_BXz9jw0skxuc8P9LSnBQA.png" /><figcaption>DatepickerCalenderSubheader component in Figma</figcaption></figure><p><em>Continuing with our </em>Button<em> example, we start with </em>.Base<em> nested in </em>Button<em> …</em></p><figure><img alt="Layers in Figma UI showing the subcomponent for Button called “.Base”" src="https://cdn-images-1.medium.com/max/1024/1*WylF7GpUNi6FCKaoc4K0tg.png" /><figcaption>The subcomponent inside Button is called .Base</figcaption></figure><p><em>Let’s drill down again…</em></p><figure><img alt="Layers in Figma UI showing the layers for “.Base”" src="https://cdn-images-1.medium.com/max/1024/1*Y0vOyh15W13koVujF09BNA.png" /><figcaption>The content inside the .Base subcomponent</figcaption></figure><p>The Button requires min-width: 96px for the medium-sized variant so we added two fixed-width vectors, one at the top and one at the bottom. The fallback name for anything that does not fit the naming convention is:</p><pre>&quot;Vector&quot;-[description]</pre><p>When using <a href="https://help.figma.com/hc/en-us/articles/360040451373-Create-dynamic-designs-with-Auto-Layout">auto layout</a> frames we structure the name like this:</p><pre>[Element]-[element]-[element]-&quot;stack&quot;</pre><p><strong>💡<em> Note:</em></strong></p><ul><li><em>Use sentence casing; only capitalize the first word in the list of items.</em></li><li><em>Limit the number of element names to three. If there are more than three do not write them in the name.</em></li></ul><p>When we look inside the Icons-string-loader-stack we see a few things:</p><figure><img alt="Layers panel in Figma UI showing the layers inside “Icons-string-loader-stack”" src="https://cdn-images-1.medium.com/max/1024/1*EZMxfMVK5genj_hlXfhfaA.png" /><figcaption>Button layers in Figma Layers panel</figcaption></figure><ul><li>The <strong>first</strong> element is an IconContainer which is a custom component built to handle style overrides and wraps the Icon component. Since there are two of the same component and it technically is just Icon, we group these and get the first part of the name — Icons.</li><li>The <strong>second </strong>element is a text layer. We structure the name of text layers like this:</li></ul><pre>&quot;String&quot;</pre><p><em>or if multiple text layers are present, we append the name like:</em></p><pre>&quot;String&quot;-[description]</pre><p>e.g. Sting-title. We now have the second part of the name — Icons-string.</p><ul><li>The <strong>third</strong> and final element in the stack is a frame called Loader-container that wraps a component called Loader. We will now add this to the end of our stack’s name and calling it Icons-string-loader-stack.</li></ul><p><strong>💡<em> Note: </em></strong><em>When using a frame with no auto layout in Figma, structure the name like this:</em></p><pre>[Description]-&quot;container&quot;</pre><h3>3. Aligning with code</h3><p>Aligning our Figma components beyond just their names with our coded components furthers our mission for 1:1 parity with code. These efforts continue to drive shared context between designers and engineers: this is critical for an <strong>elevated experience of both parties</strong>. By creating a common language with code and developers we <strong>reduce the deltas</strong> between design and product.</p><p><em>Before we continue, let’s review some key terminology:</em></p><h4>API</h4><p>The term API is an acronym, and it stands for “application programming interface.”</p><blockquote>“Think of an API like a menu in a restaurant. The menu provides a list of dishes you can order, along with a description of each dish. When you specify what menu items you want, the restaurant’s kitchen does the work and provides you with some finished dishes. You don’t know exactly how the restaurant prepares that food, and you don’t really need to.”</blockquote><blockquote>-<a href="https://www.howtogeek.com/343877/what-is-an-api/">Howtogeek.com</a></blockquote><figure><img alt="Button controls inside Figma UI varaints panel" src="https://cdn-images-1.medium.com/max/1024/1*wSppXaigYsioApc8F9kfVA.png" /><figcaption>Button API in Figma</figcaption></figure><h4>Props</h4><p>Props (properties) or <a href="https://help.figma.com/hc/en-us/articles/360056440594-Create-and-use-variants">variants</a> as Figma calls them are the inputs that each component is equipped with and define the component’s capabilities.</p><blockquote>“Conceptually, components are like JavaScript functions. They accept arbitrary inputs (called “props”) and return React elements describing what should appear on the screen.”</blockquote><blockquote>- <a href="https://reactjs.org/docs/components-and-props.html#:~:text=Conceptually,%20components%20are%20like%20JavaScript%20functions.%20They%20accept%20arbitrary%20inputs%20(called%20%E2%80%9Cprops%E2%80%9D)%20and%20return%20React%20elements%20describing%20what%20should%20appear%20on%20the%20screen.">Reactjs.org</a></blockquote><figure><img alt="Button controls inside Figma UI variants panel highlighting all the props" src="https://cdn-images-1.medium.com/max/1024/1*Tj_9PXlyF7jsJOlsv5IliA.png" /><figcaption>Button props in Figma</figcaption></figure><h4>Boolean</h4><p>A boolean is a true or false data type.</p><blockquote>“A boolean or bool is a <a href="https://www.computerhope.com/jargon/d/datatype.htm">data type</a> with two possible <a href="https://www.computerhope.com/jargon/v/value.htm">values</a>: <a href="https://www.computerhope.com/jargon/t/true.htm">true</a> or <a href="https://www.computerhope.com/jargon/f/false.htm">false</a>. It is named after the English mathematician and logician <a href="https://www.computerhope.com/people/george_boole.htm">George Boole</a>, whose algebraic and logical systems are used in all modern digital computers.”</blockquote><blockquote>- <a href="https://www.computerhope.com/jargon/b/boolean.htm">Computerhope.com</a></blockquote><figure><img alt="Button controls inside Figma UI variants panel highlighting the “Loading” prop" src="https://cdn-images-1.medium.com/max/1024/1*kn-U54BWBdH384haxEVIXQ.png" /><figcaption>The Button “Loading” prop is a boolean</figcaption></figure><h4>Enum</h4><p>An enum represents a group of constraints or unchangeable variables.</p><blockquote>“In computer programming, an enumerated type (also called enumeration or <strong>enum</strong> [..]) is a data type consisting of a set of named values called elements, members or enumerators of the type. The enumerator names are usually identifiers that behave as constants in the language.”</blockquote><blockquote>- <a href="https://treehozz.com/what-is-an-enum-in-javascript">Treehozz.com</a></blockquote><figure><img alt="Button controls inside Figma UI variants panel highlighting the “Appearance” prop" src="https://cdn-images-1.medium.com/max/1024/1*YSGu44bWl6hNy-ZdKFJGoA.png" /><figcaption>The Button “Appearance” prop is an enum</figcaption></figure><p><em>Now that we’ve covered some key terms, we are ready to dig into an example.</em></p><h4>Button example</h4><p>In the example below we are looking at the Button component inside of Figma. On the right side of the image, you will see the list of available props that a user can select.</p><figure><img alt="Button component inside Figma UI" src="https://cdn-images-1.medium.com/max/1024/1*e3YzN_fnd43n_-fiqFHKMA.png" /><figcaption>Example of the Button component with props visible in Figma</figcaption></figure><figure><img alt="Button component in live code playground" src="https://cdn-images-1.medium.com/max/1024/1*5HDaHZZatQDpG6h_ik-m-Q.png" /><figcaption>Example of the Button component in our internal doc site</figcaption></figure><p><strong>Ideally, our Figma components’ APIs are 1:1 with code</strong>, but this is not always the case. Here are a few situations where we deviate:</p><ul><li><strong>Enums vs. booleans —</strong> Sometimes it makes sense to group an array of choices versus offering several true or false options. <em>For example, </em>the coded version of Button accepts boolean values for appearance styles such as primary={true} or inverted={true} , our Figma version of Button has a single prop called Appearance that can take a value of &quot;Default&quot; , &quot;Primary&quot; , &quot;Outline&quot; , &quot;Subtle&quot; , or &quot;Inverted&quot; .</li></ul><figure><img alt="Button controls inside Figma UI variants panel highlighting the “Appearance” prop" src="https://cdn-images-1.medium.com/max/1024/1*YSGu44bWl6hNy-ZdKFJGoA.png" /><figcaption>Button “Appearance” prop values in Figma</figcaption></figure><ul><li><strong>Prop name vs. propName — </strong>We choose to format the name of props slightly differently than our coded counterparts. <em>For example,</em> in code Button has a prop called iconPosition which can take values. But in Figma, we capitalize the first word and use a space. So, Button in Figma has a prop called Icon position that can take values. This makes the component more friendly and easy to parse for designers.</li></ul><figure><img alt="Button controls inside Figma UI variants panel highlighting the “Icon position” prop" src="https://cdn-images-1.medium.com/max/1024/1*jTIQ69-LySsWUQbK-GiCQA.png" /><figcaption>Button “Icon position” prop in Figma</figcaption></figure><ul><li><strong>Sentence casing vs. lowercasing — </strong>We always capitalize the first word of a prop or prop value.<strong> </strong><em>For example,</em> in code Button has an enum prop called size that can take a value of &quot;small&quot; or &quot;medium&quot; . Our Figma version of Button has an enum prop called Size that can take a value of &quot;Small&quot; or &quot;Medium&quot; . Again, more design-centric and easier to read.</li></ul><figure><img alt="Button controls inside Figma UI variants panel highlighting the “Size” prop" src="https://cdn-images-1.medium.com/max/1024/1*JpQbmJUNpQh0fnLxf_oCkQ.png" /><figcaption>Button “Size” prop in Figma</figcaption></figure><ul><li><strong>Showing props vs. not showing props</strong> <strong>— </strong>Props are not always applicable across design and code.<strong> </strong><em>For example,</em> in our Figma version of Button, we use an enum prop called State that can take a value of &quot;Rest&quot; , &quot;Hover&quot; , &quot;Pressed&quot; , &quot;Active&quot; , &quot;Focus&quot; , or &quot;Disabled&quot;. This logic is not applicable in code, rather the coded version only has two boolean props called disabled and disabledFocusable. For designers to use Button in their flows and mocks, they require all available states.</li></ul><figure><img alt="Button controls inside Figma UI variants panel highlighting the “State” prop" src="https://cdn-images-1.medium.com/max/1024/1*bWW-Zh5A-_C3cc5vQW6J_g.png" /><figcaption>Button State prop values in Figma</figcaption></figure><ul><li><strong>Most options vs. all options — </strong>due to technical constraints in Figma and to limit the payload, we sometimes create additional components instead of a single massive component. <em>For example,</em> in code, Button has a boolean prop called iconOnly which renders only an Icon and no text string. In Figma there are two separate components: Button and IconButton .</li></ul><figure><img alt="IconButton inside Figma UI" src="https://cdn-images-1.medium.com/max/1024/1*2TPfmTGNXgL4YWhSu-wkmg.png" /><figcaption>IconButton in Figma</figcaption></figure><h4>The “position” prop</h4><p>The position prop defines where the <em>position</em> of a child node is placed in relation to its parent. We structure the name of this prop like:</p><pre>[Element] &quot;position&quot;</pre><p><em>or</em></p><pre>&quot;Position&quot;</pre><p>Either is acceptable. The reason we chose to use Position rather than Menu position in Menu , is because in code the prop that is passed is called position .</p><p>Let’s look at the MenuButton example in Figma:</p><figure><img alt="MenuButton inside Figma UI" src="https://cdn-images-1.medium.com/max/1024/1*BNrlJi2e6PdHactb7-_qXQ.png" /><figcaption>MenuButton in Figma</figcaption></figure><p>The MenuButton has an enum prop called Position that can accept a value of &quot;-&quot; , &quot;Above&quot; , &quot;Below&quot; , &quot;Before&quot; , or &quot;After&quot; , this prop defines the placement of the Menu nested in MenuButton.</p><figure><img alt="MenuButton controls inside Figma UI variants panel highlighting the “Position” prop" src="https://cdn-images-1.medium.com/max/1024/1*ZOfkTm6uUcSDg-5rebJ4ng.png" /><figcaption>MenuButton “Position” prop in Figma</figcaption></figure><p>Below is a chart of how we rank and name the options for a prop defining position in such a component. When setting values for an enum prop in Figma, we usually need to set a default value of &quot;-&quot; when the prop is not applicable, such as when the Menu is not open.</p><figure><img alt="Chart of how the position prop is ranked and what values are passed to it" src="https://cdn-images-1.medium.com/max/1024/1*TbuDGhEfKE9weUKk3YdKQw.png" /><figcaption>Chart of how the position prop is ranked and what values are passed to it</figcaption></figure><ol><li>The <strong>first</strong> option is &quot;-&quot; : this means null , or the absence of a value. When the Open prop is False meaning Menu is not opened, this is the fallback value.</li><li>The <strong>second</strong> option is &quot;Above&quot; : when true, the node is placed above the component.</li><li>The <strong>third</strong> option is &quot;Below&quot; : when true, the node is placed below the component.</li><li>The <strong>fourth</strong> option is &quot;Before&quot; : when true, the node is placed before the component.</li><li>The <strong>fifth</strong> option is &quot;After&quot; : when true, the node is placed after the component.</li></ol><h4>The “align” prop</h4><p>The align prop defines how a child node is <em>aligned</em> to its parent. We structure the name of this prop like:</p><pre>[Child] &quot;align&quot;</pre><p><em>or</em></p><pre>&quot;Align&quot;</pre><p>Either is acceptable. The reason we chose to use Align rather than Menu align in MenuButton is because in code the prop that is passed is called align .</p><p>The aligned prop <em>usually </em>goes hand-in-hand with the position prop.</p><figure><img alt="MenuButton controls inside Figma UI variants panel highlighting the “Align” prop" src="https://cdn-images-1.medium.com/max/1024/1*-4LjqJfaeuIBvEtCVWkr9Q.png" /><figcaption>MenuButton Align prop values example in Figma</figcaption></figure><p>Below is a chart of how the align prop works. Depending on where a node is placed in relation to another node, we will either use the term “Start” or “End.”</p><figure><img alt="Graphic depicting how the align prop works and what values are passed to it" src="https://cdn-images-1.medium.com/max/1024/1*n9oK8pa5bB6hiNPdUQ9mXg.png" /><figcaption>Graphic depicting how the align prop works and what values are passed to it</figcaption></figure><h3>4. Design tokens</h3><p>Design tokens are essential to iterate quickly, design within defined parameters, and of course, align to code.</p><blockquote>“Design tokens are the visual design atoms of the design system — specifically, they are named entities that store visual design attributes. We use them in place of hard-coded values (such as hex values for color or pixel values for spacing) in order to maintain a scalable and consistent visual system for UI development.”</blockquote><blockquote>- <a href="https://www.lightningdesignsystem.com/design-tokens/">Lightning Design System</a></blockquote><h4>Tokens in code</h4><p>We strive to stay in sync with our live design tokens. In code, we support three themes: light theme, dark theme, and high-contrast theme.</p><figure><img alt="Table showing the design tokens for Fluent UI" src="https://cdn-images-1.medium.com/max/1024/1*u8DlPJrb9FiT-gZHTmgTKQ.png" /><figcaption>Design tokens table in internal Fluent UI doc site</figcaption></figure><p>There are a few types of design color tokens in code, but we will focus on the alias design tokens.</p><blockquote>Alias design tokens are context-driven tokens.</blockquote><p>Alias color tokens’ names in code are structured like:</p><pre>[color].[surface][enum]</pre><p><em>In design-speak?</em> This just means that we would start with the name of the color, we would then add a period, and then we would add the name of the surface this token is for. Typically the surface is only a foreground or background, although there are some exceptions.</p><p>The word “enum” at the end means that if we have more than one token we can enumerate, starting at 0. We don’t actually write “0” though. We would append tokens starting after the first with “1” and count up.</p><p><em>Let’s continue…</em></p><p>When using a token for a state like :hover it would be structured like this:</p><pre>[color].[surface].[&quot;Hover&quot; | &quot;Pressed&quot; | &quot;Active&quot; | &quot;Focus&quot; | &quot;Disabled&quot;][enum]</pre><p><strong>💡<em>Note:</em></strong><em> a pipe (</em><em>| ) simply means “or.”</em></p><blockquote>“Union types in Typescript allows a variable to have the ability to store a value of several types. We define union types by using a pipe (<em>|</em>) to separate each of the possible types. Hence, <em>number | string | boolean</em> is the type of a variable, which can have the value that can be a <em>number</em>, a <em>string</em>, or a <em>boolean</em> .”</blockquote><blockquote><a href="https://www.tektutorialshub.com/typescript/typescript-union-types/">-Tektutorialshub.com</a></blockquote><h4>Tokens in Figma</h4><p>Two themes are supported in Figma: light theme and dark theme. The tokens nested in either the 🌕 Light theme or 🌑 Dark theme folders are 1:1 with each other. Meaning the only difference is the <em>actual</em> HEX or RGBA value. <strong>This allows for theme switching with our </strong><a href="https://josh-cusick-portfolio.webflow.io/projects/teams-power-pack"><strong>plugin</strong></a><strong> or manual token swapping.</strong></p><figure><img alt="Microsoft Teams Power Pack Figma plugin UI" src="https://cdn-images-1.medium.com/max/1024/1*BfdlZ5CZOC7HkolCOr9V9g.png" /><figcaption>Teams Power Pack Figma <a href="https://josh-cusick-portfolio.webflow.io/projects/teams-power-pack">plugin</a></figcaption></figure><h4>Color design tokens</h4><p>Let’s take a look at an example. All of the tokens in Figma mirror the tokens in code. So we start with our doc site.</p><figure><img alt="Table showing the design tokens for Fluent UI" src="https://cdn-images-1.medium.com/max/1024/1*XzvJ9wHnR-AMcKte8d1N4w.png" /><figcaption>Design tokens in internal Fluent UI doc site</figcaption></figure><p>The <strong>two things</strong> we need to pay attention to are the <strong>palette name</strong>, in this case, that is “brand” and the <strong>token name</strong>, which is “Background.” Let’s transcribe this to Figma.</p><p>How tokens are named in Figma:</p><pre>[Color palette] [Token name]</pre><figure><img alt="Figma UI color picker showing the saved value called “Brand Background”" src="https://cdn-images-1.medium.com/max/1024/1*cibA3t3E0rsHu9Iq1InZAg.png" /><figcaption>Brand Background alias token for rest state example in Figma</figcaption></figure><p><em>Notice we capitalized “Brand.”</em></p><p>The same goes for state-based tokens like Brand Background Hover . We just take the literal name from the doc site…</p><figure><img alt="Figma UI color picker showing the saved value called “Brand Background Hover”" src="https://cdn-images-1.medium.com/max/1024/1*WUx2kDA11nXLMhIhuzvMzQ.png" /><figcaption>Brand Background Hover alias token for hover state example in Figma</figcaption></figure><p><strong>A high-level overview of our color token organizational structure in Figma:</strong></p><pre>[Theme] / [State] / [Surface] / [Token]</pre><p><em>More specifically…</em></p><pre>[&quot;🌕 Light theme&quot; | &quot;🌑 Dark theme&quot;] / [&quot;Rest&quot; | &quot;Hover&quot; | &quot;Pressed&quot; | &quot;Active&quot; | &quot;Focus&quot; | &quot;Disabled&quot;] / [&quot;Foreground&quot; | &quot;Background&quot; | &quot;Border&quot;] / [Token Name]</pre><p><strong>💡 <em>Note:</em></strong><em> There are two exemptions to this convention though: the “Loading” and “Component styles” subfolders. More on that below.</em></p><p>At the top-most level lives the themes 🌕 Light theme and 🌑 Dark theme .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O7-Z0wgnHAx3GWXXPQ1LXA.png" /><figcaption>Parent folders in Figma</figcaption></figure><p>Drilling down under 🌕 Light theme live the states. These are the <strong>six subfolders</strong> each named by <em>state</em>:</p><ol><li>Rest : tokens for <strong>default</strong> color — e.g. the background-color for Button at its primitive state with no current or pending interaction.</li><li>Hover : tokens for <strong>hover-context</strong> colors — e.g. the background-color for Button being hovered by a mouse cursor.</li><li>Pressed : tokens that for <strong>pressed-context</strong> colors — e.g the background- color forButton on mouse click.</li><li>Active : tokens for <strong>active-context</strong> or “selected” colors — e.g the background-color for ToggleButton when selected.</li><li>Focus : tokens for <strong>focus-context</strong> colors — e.g. the focus-ring for Button when a screenreader is focused on it.</li><li>Disabled: tokens for <strong>disabled-context</strong> colors — e.g the background-color for Button when disabled.</li></ol><figure><img alt="Figma UI Color Styles panel showing 8 folders called “Rest”, “Hover”,”Pressed”, “Active”, “Focus”, “Disabled”, “Loading”, and “Component styles.”" src="https://cdn-images-1.medium.com/max/1024/1*3vcCD27vZhAkuu3jVYT2oA.png" /><figcaption>State-based subfolders in Figma</figcaption></figure><p>The bottom two subfolders below the state-based ones are:</p><ol><li>Loading: tokens for <strong>loading-specific</strong> components that require gradients such as Skeleton and Loader . Because of limitations in Figma such not being able to point gradient tokens to multiple variables, these <strong>are not 1:1 with code</strong> and specific only to our local styles in Figma. The end result is the same but the tokens do not match.</li><li>Component styles: tokens <strong>used locally to build components</strong> such as the shadows in AppBar and ScrollBar .</li></ol><p><strong>💡 <em>Note:</em></strong> <em>the naming conventions in the </em>Loading<em> and </em>Component styles<em> folders are not finalized and may be subject to change.</em></p><figure><img alt="Figma UI Color Styles panel showing 8 folders called “Rest”, “Hover”,”Pressed”, “Active”, “Focus”, “Disabled”, “Loading”, and “Component styles.”" src="https://cdn-images-1.medium.com/max/1024/1*pu3-Ni3bmKTqsZU_TODCrw.png" /><figcaption>“Loading” and “Component styles” subfolders in Figma</figcaption></figure><p>Nested inside each of the state-based subfolders are one of three subfolders contextual to the surface type:</p><ol><li>Foreground : tokens for foreground elements such as color for a text span</li><li>Background : tokens for background elements such background-color for Button</li><li>Border : tokens for borders such as border-color for Card</li></ol><figure><img alt="Figma UI Color Styles panel showing folders called “Foreground”, “Background”, and “Border.”" src="https://cdn-images-1.medium.com/max/1024/1*0pr4ggw22R-BiZrbs8r0XA.png" /><figcaption>“Foreground”, “Background”, and “Border” subfolders in Figma</figcaption></figure><p>Finally, nested in each surface-type subfolder are the alias color tokens. Tokens are sorted as follows:</p><ol><li>Default</li><li>Silver</li><li>Brand</li><li>Red</li><li>Orange</li><li>Yellow</li><li>Green</li><li>Pink</li><li>Onyx</li></ol><p><strong>💡 <em>Note</em></strong><em>: each token group is sorted starting at 0 (remember when 0 no number is appended to the token name). Not all tokens are available in Figma from code as they are added as uses are identified.</em></p><figure><img alt="Alias color tokens inside the “Border” subfolder in Figma UI" src="https://cdn-images-1.medium.com/max/1024/1*CRFqcJfOyoEmfrMzDSTWSQ.png" /><figcaption>Alias color tokens inside the “Border” subfolder in Figma</figcaption></figure><h4>Shadow tokens</h4><p>The shadow or “elevation” story is being revamped for new versions of Fluent UI which TCL will snap to. Currently, we name our shadows like this:</p><pre>&quot;shadow&quot;-[enum]</pre><p><em>and if the shadow is pointing in another direction other than down we name the token like this:</em></p><pre>&quot;shadow&quot;-[&quot;up&quot; | &quot;left&quot; | &quot;right&quot;]-[enum]</pre><p>We start at “2” and work up to “32.” Shadows mimic the z-index, meaning that shadow-2 is a lower z-index than shadow-16 .</p><figure><img alt="Shadow tokens inside Figma UI" src="https://cdn-images-1.medium.com/max/1024/1*Ct37-TIlmjmkN4QYf7IZEQ.png" /><figcaption>Shadow tokens in Figma</figcaption></figure><h4>Typography tokens</h4><p>Again, due to some limitations in Figma, we sort our typestyles a bit differently than code. New ordering is in the works.</p><p>Currently, we have six folders, sorted from smallest font size to largest font size, with a local styles folder at the end:</p><ol><li>Smaller</li><li>Small</li><li>Medium</li><li>Large</li><li>Larger</li><li>Component styles</li></ol><figure><img alt="Text style tokens inside Figma UI" src="https://cdn-images-1.medium.com/max/1024/1*FnifjQHBuaOG67BEU_p4Kw.png" /></figure><p>In each folder, styles are named like:</p><pre>[weight number]</pre><p>and if it is italic or underlined we name it like this:</p><pre>[weight number] [&quot;italic&quot; | &quot;underlined&quot;]</pre><p>They are sorted from the lowest number to the highest number.</p><figure><img alt="Text style tokens inside Figma UI" src="https://cdn-images-1.medium.com/max/1024/1*fQGrom_Xs6Q82FibYFhGkA.png" /></figure><h3>5. Version control</h3><p>Semantic Versioning or SemVer, in short, is a versioning system to incrementally organize published versions of a project. This is most common for engineers or software developers, but we have borrowed some of the principles for our Figma kit. The numbering is structured like this:</p><pre>[Major].[Minor].[Patch]</pre><ul><li><strong>Major:</strong> these are massive versions, sweeping and breaking changes. This occurs typically only once a year, such as rebuilding a bunch of new components to align with a new Figma release.</li><li><strong>Minor:</strong> these are scheduled to occur on the last Friday of every month, usually a batch of new components or significant non-breaking component updates are grouped and released under this version.</li><li><strong>Patch:</strong> these are scheduled every Friday, except for the last Friday of the month. They include mostly bug fixes or small changes.</li></ul><figure><img alt="Figma file cover pointing to the version number" src="https://cdn-images-1.medium.com/max/1024/1*NCdvJKBUevas5qTabIV3tw.png" /><figcaption>Figma file cover pointing to the version number</figcaption></figure><h4>Communicating versions</h4><p>There are three ways we communicate new versions to users:</p><ul><li><strong>Release notes in Figma:</strong> before we hit that “Publish” button, we type our release notes in the input box inside the Figma publishing window.</li></ul><figure><img alt="Figma publishing window" src="https://cdn-images-1.medium.com/max/1024/1*kWXRZ0py9ksUgIkEnR0fjQ.png" /><figcaption>Figma publishing window</figcaption></figure><ul><li><strong>Changelog page in Figma</strong>: in Figma, there is a page titled “Changelog”, on that page we post our release notes.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j5lGnWYvd-VH2wDvFA_EIg.png" /></figure><ul><li><strong>Design Systems Teams channel:</strong> to provide transparency and quick access to components that were added, modified, or moved to the Graveyard we post our release notes in a Teams channel.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S9M1svGnuyU7y6oUeQ5J6w.png" /><figcaption>Release notes published in Microsoft Teams</figcaption></figure><p><strong>Here is how we structure the release notes:</strong></p><pre><strong>Teams Component Library Update: (TCL [date])-[V#]</strong></pre><pre><strong>🎉  What’s New</strong></pre><pre>• [Component name with link] component<br>• [Component name with link] component<br>• [Component name with link] component</pre><pre><strong>🛠 What’s Modified</strong></pre><pre>• Bug fix for [Component name with link]<br>• Thing updated for [Component name with link]</pre><pre><strong>⚰️ What’s Moved to Graveyard</strong></pre><pre>• Old [Component name with link] component<br>• Old [Component name with link] component<br>• Old [Component name with link] component</pre><h4><strong>Deprecating old components</strong></h4><p>When the time comes to deprecate old components, we do the following:</p><ol><li>Select the component to deprecate a move it to the page called “Graveyard.”</li><li>Change the name to:</li></ol><pre>[Current name] / &quot;⚠️ DEPRECATED MIGRATE TO NEW VERSION ⚠&quot;</pre><figure><img alt="Figma UI dialog renaming multiple components to be deprecated." src="https://cdn-images-1.medium.com/max/1024/1*DpqAJWwqbZZCIGpvHD7OuA.png" /><figcaption>For multiple components that are being deprecated, we can select them all at once and rename them</figcaption></figure><p>3. When publishing a new version add this component to the “⚰️ Moved to graveyard” section.</p><h3>Final thoughts</h3><p>Thank you for taking the time to read this article, many hours were put into making it consumable and digestible for designers. Future versions are being planned. Stay tuned for updates by following this publication on Medium and <strong>show your support by clicking 👏 the “clap” button</strong>.</p><h3>Glossary</h3><ul><li><strong>API:</strong> an acronym that stands for “application programming interface”</li><li><strong>Auto layout:</strong> similar to <a href="https://css-tricks.com/snippets/css/a-guide-to-flexbox/">CSS flexbox</a>, auto layout is a property in Figma that you can add to frames and components. It lets you create designs that grow to fill or shrink to fit, and reflow as their contents change.</li><li><strong>BEM:</strong> an acronym that stands for “block element modifier”</li><li><strong>Boolean:</strong> a true or false data type</li><li><strong>Design tokens:</strong> the visual design atoms of the design system — specifically, they are named entities that store visual design attributes.</li><li><strong>Enum: </strong>a group of constraints or unchangeable variables.</li><li><strong>Prop:</strong> arguments passed into React components.</li><li><strong>Semantic Versioning:</strong> semantic and incremental versioning that takes place in the form of [Major].[Minor].[Patch] .</li><li><strong>Subcomponent:</strong> a component that contains all the necessary content for its parent component to function properly while allowing for global, sweeping changes across multiple instances.</li></ul><h3>Sources</h3><ol><li><em>BEM — Block Element Modifier</em>. (n.d.). Get BEM. <a href="http://getbem.com/">http://getbem.com/</a></li><li>Computer Hope. (2021, February 1). <em>What is a Boolean?</em> <a href="https://www.computerhope.com/jargon/b/boolean.htm">https://www.computerhope.com/jargon/b/boolean.htm</a></li><li>Facebook Inc. (n.d.). <em>Components and Props –</em>. React — A JavaScript Library for Building User Interfaces. <a href="https://reactjs.org/docs/components-and-props.html#:%7E:text=Conceptually,%20components%20are%20like%20JavaScript%20functions.%20They%20accept%20arbitrary%20inputs%20(called%20%E2%80%9Cprops%E2%80%9D)%20and%20return%20React%20elements%20describing%20what%20should%20appear%20on%20the%20screen.">https://reactjs.org/docs/components-and-props.html#:%7E:text=Conceptually,%20components%20are%20like%20JavaScript%20functions.%20They%20accept%20arbitrary%20inputs%20(called%20%E2%80%9Cprops%E2%80%9D)%20and%20return%20React%20elements%20describing%20what%20should%20appear%20on%20the%20screen.</a></li><li>Figma. (n.d.). <em>Create dynamic designs with auto layout</em>. <a href="https://help.figma.com/hc/en-us/articles/360040451373-Create-dynamic-designs-with-Auto-Layout">https://help.figma.com/hc/en-us/articles/360040451373-Create-dynamic-designs-with-Auto-Layout</a></li><li>Hoffman, C. (2021, August 13). <em>What Is an API, and How Do Developers Use Them?</em> How-To Geek. <a href="https://www.howtogeek.com/343877/what-is-an-api/">https://www.howtogeek.com/343877/what-is-an-api/</a></li><li>Tree Hozz. (2020, March 1). <em>What is an enum in Javascript?</em> <a href="https://treehozz.com/what-is-an-enum-in-javascript">https://treehozz.com/what-is-an-enum-in-javascript</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7586999982f6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/inside-designing-microsoft-teams/keeping-things-organized-7586999982f6">Keeping Things Organized</a> was originally published in <a href="https://medium.com/inside-designing-microsoft-teams">Inside Designing Microsoft Teams</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Start On Design Systems]]></title>
            <link>https://blog.designsystemsforfigma.com/how-to-start-on-design-systems-e4d25d96f146?source=rss-da2eadade64------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4d25d96f146</guid>
            <category><![CDATA[ux-design]]></category>
            <category><![CDATA[design-systems]]></category>
            <dc:creator><![CDATA[Josh Cusick]]></dc:creator>
            <pubDate>Wed, 28 Apr 2021 21:13:36 GMT</pubDate>
            <atom:updated>2021-04-28T21:13:36.368Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="How To Start On Design Systems" src="https://cdn-images-1.medium.com/max/1024/1*y2bNfi8itiW75cG6bSZZ3A.jpeg" /><figcaption>Illustration by <a href="https://mariahbn.com/">Mariah Barnaby-Norris </a>for this article</figcaption></figure><p><strong>Note:</strong> This article was originally published <a href="https://designsystemsforfigma.com/blog/how-to-start-on-design-systems">here</a>.</p><p>I currently work at Microsoft on the <a href="https://www.microsoft.com/design/fluent/#/">Fluent Design System</a> and Teams Component Library. Previously I worked at <a href="https://www.eagleview.com/">EagleView</a> and helped design their first design system.</p><p>I’ve always loved the idea of approaching design systematically, with global styles, rules, and guidelines. In the beginning, this concept was curiously intriguing to me. But, like many designers working on their first design system, I underestimated the feat of the task at hand.</p><p>The following is a brief account of my journey and career in design systems. I hope that you find my experiences useful wherever you might be on your path in design.</p><h3>Once upon a time</h3><p>EagleView gave me my first shot at design systems. They had a large portfolio of digital products (~20) and each looked vastly different. On top of that, they had multiple products in various stages of flight and on different platforms (native and web). The leadership, design, and engineering teams had come to a consensus that they needed a design system from identifying the following problems (most of which are more common than we would like to admit):</p><ul><li>Onboarding designers to multiple UI libraries and engineers to multiple codebases was tedious and prone to redundancies</li><li>Engineering sprints were bogged down by the development of the same components over and over again (<em>How many times do we need to create a button?</em>)</li><li>Designers were spending countless hours crafting one-off UIs for new products</li><li>Customers (users) were experiencing a lack of cohesion across platforms (e.g. native and web) and applications, resulting in jarring and confusing experiences</li></ul><p><em>The list goes on…</em></p><figure><img alt="An array of UI screenshots from EagleView" src="https://cdn-images-1.medium.com/max/1024/0*2fdnaPy0OgRbPMl7" /><figcaption>A few of EagleView’s products before the Design System</figcaption></figure><p>To make things more challenging (depending on how you look at the situation), I was given only one requirement, the Design System needed to be built in <a href="https://reactjs.org/">React</a>. Sounds easy right? <em>I didn’t know where to start</em>.</p><h3>Start with what you don’t know</h3><p>I learn best through hands-on problem-solving. Throw me into the deep end of a pool and I’ll usually swim. My initiation into the design systems’ world was kind of like that, but in the dark, blindfolded, and with a lot of sharks (ok maybe not the sharks part). I realized that there were many things about design systems that I simply did not know, but how to remedy my predicament was unclear. YouTube seemed like a good place to start. So, I typed “design systems” in the search bar and clicked on the first video that looked interesting. The following videos were (and still are) extremely helpful to me:</p><ul><li><a href="https://www.youtube.com/watch?v=mq984Mc9UVA&amp;t=299s">The Future of Design Systems | Hayley Hughes | Airbnb | Awwwards Conf San Fran</a></li><li><a href="https://www.youtube.com/watch?v=Xww-x7DgiDw">Reimagining Design Systems at Spotify — Shaun Bent — Design Systems London 2019</a></li><li><a href="https://www.youtube.com/watch?v=IaT4wdWTwuo">Material Theming: Build Expressively with Material Components (Google I/O’19)</a></li><li><a href="https://youtu.be/Hx02SaL_IH0">Design Systems, when and how much? — Diana Mounter</a></li><li><a href="https://youtu.be/9NDLR3COU7Y">How to Design a Dark Theme Using Material (Google I/O’19)</a></li><li><a href="https://youtu.be/fHQ1WSx41CA">Building (And Re-Building) the Airbnb Design System | Maja Wichrowska &amp; Tae Kim</a></li></ul><p>I approached my research with an open mind, soaking up as much of the knowledge as I could like a sponge.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fmq984Mc9UVA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dmq984Mc9UVA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fmq984Mc9UVA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/effc0585747eceb006c75600f437b978/href">https://medium.com/media/effc0585747eceb006c75600f437b978/href</a></iframe><h3>Define principles and priorities upfront</h3><p>In an <a href="https://youtu.be/isNBAN_nlIU">episode</a> of the<a href="https://www.designbetter.co/podcast"> Design Better Podcast</a>, <a href="https://twitter.com/brad_frost">Brad Frost</a>, design systems expert, and creator of the <a href="https://atomicdesign.bradfrost.com/table-of-contents/">Atomic Design Methodology</a> spoke about how essential it is to define which aspects of a new design system are most important to the team and company.</p><blockquote>Getting the key stakeholders in a room and agreeing on a few principles and priorities before even putting pen to paper, is critical.</blockquote><p>If you do this, when the going gets tough, one can always refer back to that day, asking, <em>“Do you remember when we agreed that this (thing) is the most important part of our new system?”</em> Now, this isn’t to say that priorities and principles can’t change, but having a reference point or a north star helps to guide the systems designer(s) and keep everyone on track.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FisNBAN_nlIU%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DisNBAN_nlIU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FisNBAN_nlIU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d606a4a49c6dbea96889d451c2d79039/href">https://medium.com/media/d606a4a49c6dbea96889d451c2d79039/href</a></iframe><h3>Define success metrics</h3><p>There are several ways to measure the success of a design system. At EagleView, we collectively wanted to: increase our sprint velocity by ≥50%, free up as many design hours as possible, and increase collaboration productivity by creating a shared language between design, engineering, and product. The last two metrics are a bit ambiguous and I suggest you check out these two articles if you are looking to get more granular with your KPIs:</p><ul><li><a href="https://www.pgs-soft.com/blog/how-to-save-35-hours-using-a-design-system/">How To Save 35 Hours Using A Design System | Marcin Fuja</a></li><li><a href="https://medium.com/eightshapes-llc/and-you-thought-buttons-were-easy-26eb5b5c1871#:~:text=If%20your%20enterprise%20has%2050,%241%2C000%2C000%20to%20have%20good%20buttons.&amp;text=That&#39;s%20a%20million%20dollars%2C%20for,and%20consistency%20to%20vary%20significantly">And You Thought Buttons Were Easy | Nathan Curtis</a></li></ul><blockquote>“Using a Design System can remove over 50% of the time needed to design, develop and test, in addition to ensuring consistency and giving your team more time to focus on what’s important: quality and innovation.”</blockquote><blockquote>– <a href="https://www.pgs-soft.com/blog/how-to-save-35-hours-using-a-design-system/">Marcin Fuja</a>, Sr. Frontend Developer @ PGS Software</blockquote><h3>Design with context</h3><p>Let me save you a few hundred hours — <strong>designing design system components in a box with no context is a waste of time</strong>; don’t do that.</p><blockquote>“Successful design patterns don’t exist in a vacuum.”</blockquote><blockquote>– <a href="https://speakerdeck.com/yeseniaperezcruz/building-flexible-design-systems?slide=43">Yesenia Perez-Cruz</a>, Sr. UX Manager, Polaris Design System</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fu1mi0VJOuZ8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Du1mi0VJOuZ8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fu1mi0VJOuZ8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4fd79e2e30515698e044777dcf2b9ef6/href">https://medium.com/media/4fd79e2e30515698e044777dcf2b9ef6/href</a></iframe><p>At EagleView we identified a core product that would be our guinea pig for the Design System and informed us which components that I would design and work with engineering to build. <strong>Nearly every component I designed and was built was contextually driven.</strong></p><figure><img alt="UI components in Figma" src="https://cdn-images-1.medium.com/max/1024/0*KVQtzGV2-CWVVHjJ" /><figcaption>A few UI components I designed for EagleView’s design system in Figma</figcaption></figure><p>My work at Microsoft is a bit more matured because we have an enterprise design system that is several years old. Contributing to a mature system vs. a young system yields similarities and differences. At EagleView I was the only systems designer, while at Microsoft I have much more support. Both types of situations can serve value, and I have learned a lot from both experiences. Below is an example of our React &lt;Button /&gt; component in context.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XvH2WxYuAz8ZJUDp" /><figcaption>Variations of the &lt;Button /&gt; component I built in Figma used in Microsoft Teams desktop and web clients</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*E8HomHp2jsT5NHv0" /><figcaption>An implementation of the &lt;Button /&gt; component used to create a new conversion in Teams desktop client</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hcFMqMz__QNGPDlf" /><figcaption>An implementation of the &lt;Button /&gt; component used to start a new meeting in Teams desktop client</figcaption></figure><h3>Establish a process</h3><p>It becomes easy to get lost in the work, no matter the size or maturity of your design system. <strong>Establishing a process helped keep me on track and my collaborators in the loop by providing realistic ETAs on requests</strong>. After reading this <a href="https://medium.com/designing-atlassian/how-to-jira-for-designers-e37c354aa078">article</a> on how Atlassian’s design teams leverage Jira, I was inspired to test it out with our design system. While at EagleView I created a Kanban board using Atlassian’s <a href="https://www.atlassian.com/software/jira">Jira Software</a> and at Microsoft, we use <a href="https://docs.microsoft.com/en-us/azure/devops/boards/boards/kanban-quickstart?view=azure-devops">Azure DevOps</a> to track our work.</p><blockquote>“Kanban is a popular framework used to implement agile and DevOps software development. It requires real-time communication of capacity and full transparency of work. Work items are represented visually on a kanban board, allowing team members to see the state of every piece of work at any time.”</blockquote><blockquote>– <a href="https://www.atlassian.com/agile/kanban">Atlassian</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*49gJY0iXSP4gmkUp" /><figcaption>The Kanban board I created at EagleView</figcaption></figure><p>The board I created had six columns. When a ticket was first created, it sat in the “<strong>Backlog</strong>” column. Once a new component or feature was prioritized in a biweekly <a href="https://www.productboard.com/glossary/backlog-grooming/#:~:text=Backlog%20grooming%20is%20a%20regular,are%20prepared%20for%20upcoming%20sprints.">backlog grooming</a> session, it was moved into the “<strong>Exploring 🐕</strong>” column. Initial research, accessibility checks using <a href="https://www.w3.org/">WCAG</a>, <a href="https://developer.apple.com/design/human-interface-guidelines/">Apple’s HIG</a>, and <a href="https://material.io/design">Material Design</a>, and mocks would be conducted and created. The ticket would then move to the “<strong>Sparring 🥊</strong>” column, which was a fun way to say design review. The whole design team would review the work I presented, make critiques, and provide suggestions. Next came the “<strong>Finalize Specs 📐</strong>” column. This was where I would make adjustments based on the feedback I received, and create every needed component variation e.g. all the states of a button. I would also perform a final accessibility check. After my checks were complete and specs were finished, I would move the ticket to the “<strong>Final Review &amp; Sign Off 🔍✅</strong>” column. Depending on the ticket, either the Director of UX, Director of Product, or a product manager would comment on the ticket with their approval, and the ticket would then be closed out and moved to the “<strong>Design Done 🎉🍺🍷</strong>” column.</p><p>This process was not perfect, but it helped bring transparency and accountability to the work that was conducted.</p><h3>Understand your tech stack</h3><p>Should designers learn to code? The short answer is no. Here’s the thing though, that’s kind of like asking if you need to learn to speak Russian if you want to visit Russia. You don’t <em>need</em> to, but you might have a better time visiting Russia if you know Russian. <em>I’ve been to Russia and I wish I knew Russian at the time.</em></p><p>I am no expert but I took it upon myself to learn HTML, CSS, and React. The more I coded, the more I learned, and the easier it was for me to communicate with my engineering counterparts, write component specification documents, and understand technical constraints and possibilities. <strong>Having at least a basic understanding of front-end languages will help you accomplish more with your designs and work better with your engineering partners.</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8c574a60f39c88a9a2518e52d49a8129/href">https://medium.com/media/8c574a60f39c88a9a2518e52d49a8129/href</a></iframe><p>Learning the ins and outs of your design tool is critical. Before EagleView, I had only worked in XD (insert sad face here). Shortly after switching to Figma, I was converted. It was love at first sight.</p><p>Whatever tool you do use for your design system, keep learning. There are countless videos and resources to help designers understand all the nuances of their software. I always do my best to keep up to date with Figma.</p><h3>Final thoughts</h3><p>Thanks for taking the time to read my story. If you are starting out on your first design system, don’t be discouraged, we all have been there before. Keep reading and watching content, make friends with other design system designers, and most importantly, ask for help when you need it.</p><h3>Recommended resources</h3><h4>🎧 Podcasts</h4><ul><li><a href="https://www.designbetter.co/podcast">Design Better | Aarron Walter and Eli Woolery</a></li><li><a href="https://tannerchristensen.com/new-layer-podcast">New Layer | Tanner Christensen and Jasmine Friedl</a></li></ul><h4>📺 Youtube Channels</h4><ul><li><a href="https://www.youtube.com/channel/UCHTt4tr25_wdGiJQcKD8wzA">Build UX</a></li><li><a href="https://www.youtube.com/channel/UCTIhfOopxukTIRkbXJ3kN-g">DesignCode</a></li><li><a href="https://www.youtube.com/channel/UCQsVmhSa4X-G3lHlUtejzLA">Figma</a></li><li><a href="https://www.youtube.com/channel/UCcnSNQb0tLVd8uT7gzI8duA">Material Design</a></li></ul><h4>🕹 Design Systems</h4><ul><li><a href="https://www.microsoft.com/design/fluent/#/">Fluent Design System | Microsoft</a></li><li><a href="https://material.io/design">Material Design | Google</a></li><li><a href="https://developer.apple.com/design/human-interface-guidelines/">Human Interface Guidelines | Apple</a></li><li><a href="https://www.lightningdesignsystem.com/">Lighting Design System | Salesforce</a></li><li><a href="https://ant.design/">Ant Design System | Alibaba</a></li><li><a href="https://seeds.sproutsocial.com/">Seeds | Sprout Social</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4d25d96f146" width="1" height="1" alt=""><hr><p><a href="https://blog.designsystemsforfigma.com/how-to-start-on-design-systems-e4d25d96f146">How To Start On Design Systems</a> was originally published in <a href="https://blog.designsystemsforfigma.com">Design Systems For Figma</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Responsive Typography]]></title>
            <link>https://medium.com/@joshcusick/responsive-typography-af9a4e1dedcf?source=rss-da2eadade64------2</link>
            <guid isPermaLink="false">https://medium.com/p/af9a4e1dedcf</guid>
            <category><![CDATA[seattle]]></category>
            <category><![CDATA[typography]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[scss]]></category>
            <category><![CDATA[design-systems]]></category>
            <dc:creator><![CDATA[Josh Cusick]]></dc:creator>
            <pubDate>Thu, 13 Feb 2020 00:15:11 GMT</pubDate>
            <atom:updated>2020-06-03T20:45:44.063Z</atom:updated>
            <content:encoded><![CDATA[<h3>Design System Responsive Typography</h3><h4>Using SCSS mixings and media queries make dynamic changes</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ViDwpRDI52ZqgXrhg6EVTw.png" /></figure><p>A challenge I was recently faced with was to create a responsive type scale, adapting to the user’s viewport. I saw two potential solutions:</p><ol><li>Create a <a href="https://css-tricks.com/snippets/css/fluid-typography/">fluid scale</a></li><li>Use <a href="https://css-tricks.com/snippets/css/media-queries-for-standard-devices/">media queries</a> and predefined attributes</li></ol><p>Long story short…I went with option #2. I determined I needed &lt;h1&gt; - &lt;h4&gt; types as well as two &lt;body&gt; types. Using the <a href="http://getbem.com/">BEM naming convention</a> and methodology I created a root class to define the global default styles.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d3071bf4e5f369d245d526de18e613bf/href">https://medium.com/media/d3071bf4e5f369d245d526de18e613bf/href</a></iframe><p>Next, I set up my breakpoints.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8c574a60f39c88a9a2518e52d49a8129/href">https://medium.com/media/8c574a60f39c88a9a2518e52d49a8129/href</a></iframe><p>Now that I established my breakpoints I could call the $point variable in each of the classes that I wanted to resize.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e0c3bd08981bdb12cf97b7cfab2e0497/href">https://medium.com/media/e0c3bd08981bdb12cf97b7cfab2e0497/href</a></iframe><p>The &lt;h1&gt; defined here is used in a React.js web app, not a website. So it needed to be small enough to not stand out too much but large enough to be prominent and clearly the title. At first, I tried to scale sizing by multiples of 8 but this was too much. In the end, scaling by 4’s worked perfectly.</p><h3>That’s all?</h3><p>Yah, pretty much. Keep in mind the breakpoints/SASS variables would most likely be stored in a global file and be called on in your other files.</p><p><strong>👇👇👇 Write questions or comment below 👇👇👇</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af9a4e1dedcf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>