
Design a sidebar in Figma using an incremental design system, creating styles, colors, typography, and icons with plugins like Styler and Contrast, and building components and hover and active states.
Design and implement a sidebar dropdown in Figma by organizing icons, refining colors and borders, building topic items, and prototyping open and close interactions in light and dark variants.
Design and organize a home header in Figma, building sidebar icons, creating variants for analytics, events, and images, and testing hover, active, and size states for a polished header.
Design an explore page in Figma by refining the newsfeed and left sidebar. Reuse buttons, apply auto layout and borders to create tabs and a responsive dark and light mode.
Design the message page in Figma by building a message component with profile, username, and chat bubbles, including normal, hover, and active states, plus search and send features.
Designs the bookmark component in Figma by duplicating the notification module, simplifying content, and adding a bookmark header, icon, and hover states for a clear bookmark manager prototype.
Build a reusable sidebar home component in JavaScript with lit-html, featuring a render method, a custom tag, static styles, CSS variables, and proper imports in a components directory.
Learn to extract shared styles into dark and default modules, import them across sidebars and buttons, and render CSS templates for lean, reusable lit-js interfaces.
Design & code Twitter with lit js, css & figma (2022) demonstrates extracting sidebar styles, applying dark and default themes, renaming components like sidebar explorer, and updating svg icons.
Refactor and organize JavaScript modules by encapsulating component styles, updating import paths with Visual Studio code search and replace, and creating generic styles to ensure all sidebar components render correctly.
Refactor the JavaScript logic by creating a reusable is_visible function and applying it across dropdown and username events with two arguments, ensuring clean imports and consistent behavior.
Reuse component patterns to design and refactor the news feed sidebar, adjusting hover states, image sizes, and typography with primary and secondary styles.
The lecture shows making a newsfeed responsive using css, including overflow adjustments, min/max sidebar widths, flex wrap, and a media query to make the primary button full width.
Fix sidebar layout issues by correcting icon spacing, preventing clipping with z-index and overflow tweaks, and prepare a data folder with image assets for dynamic rendering in the next video.
Add and render a dynamic tweet card with profile image, user name, content, and images, while removing the horizontal border and adopting 16px body text.
Explore how to break designs into reusable components in Figma, export styles to JavaScript, and translate a Twitter-like UI into code using shareable styles and custom components.
In this course we will learn how to use the native web component technology to our advantage.
Design beautiful web components for Twitter using Figma
Transfer all those beautiful designs to front-end code using Lit JS
Code light & dark user interface for Twitter home page using JavaScript & Figma
Before we dive right into front-end coding, we will first design everything in Figma from scratch.
Not only will we design components in Figma, but also build a design system for our Twitter UI project
We will design reusable color, typography, & shadow styles
At the end, we transfer Figma styles to CSS variables
We will learn how to use Lit JS to develop native shareable components.
We will learn how to encapsulate our HTML and CSS into JavaScript classes using Lit JS
We will learn how to build simple future-ready native web components
We only use pure vanilla JavaScript to create customizable components and scope our CSS styles inside each of them
One of the best practices in front-end development is to reuse code as much as possible. However, transfering design to HTML markup tends to be complex.
We will use Lit JS to make our development life easy because it is built on top of native web component API
Since Lit JS uses native web component API, our development environment is simple yet powerful
That means we do not have to worry about Node Modules or JavaScript bundlers to convert our syntax to code