# Repository: swyxio/spark-joy # Stars: 9744 ## README.md ![image](https://user-images.githubusercontent.com/6764957/83363763-7d5c1a80-a3ce-11ea-95fb-2df3dd5aad34.png) > **Easy ways to add design flair, user delight, and whimsy to your product!** _The Spark Joy philosophy is explained in further detail [in my book](https://learninpublic.org/), check it out if you'd like to explore how this approach applies to a lot more than design utilities._ **Table of Contents** - [Web Design in 4 minutes](#web-design-in-4-minutes) - [CSS/UI Templates](#cssui-templates) - [Serious CSS Frameworks](#serious-css-frameworks) - [Drop-in CSS Frameworks](#drop-in-css-frameworks) - [Fun CSS Frameworks](#fun-css-frameworks) - [No Framework](#no-framework) - [CSS Resets](#css-resets) - [CSS A11y Checkers](#css-a11y-checkers) - [Tailwind Component Libraries](#tailwind-component-libraries) - [React Component Libraries](#react-component-libraries) - [Layout](#layout) - [Stacking and Elevation](#stacking-and-elevation) - [2D Spacing](#2d-spacing) - [Responsive Layout Breakpoints](#responsive-layout-breakpoints) - [Layout Bleed](#layout-bleed) - [Other Layout Tools and tips](#other-layout-tools-and-tips) - [Typography](#typography) - [Fonts](#fonts) - [Line Height](#line-height) - [Line Width](#line-width) - [Kerning and char spacing](#kerning-and-char-spacing) - [Font Sizing](#font-sizing) - [Typography Talks](#typography-talks) - [Other Typography Resources](#other-typography-resources) - [Colors](#colors) - [Palette Generators](#palette-generators) - [Color Gradients](#color-gradients) - [Color Theory](#color-theory) - [Color Theory for Data Visualization](#color-theory-for-data-visualization) - [Backgrounds](#backgrounds) - [Background Gradients and Patterns](#background-gradients-and-patterns) - [Background Illustrations](#background-illustrations) - [Background SVG texture](#background-svg-texture) - [Misc Backgroundy Stuff](#misc-backgroundy-stuff) - [Icons and Favicons](#icons-and-favicons) - [Favicons](#favicons) - [`` tags and opengraph](#link-rel-tags-and-opengraph) - [Icons](#icons) - [Diagramming](#diagramming) - [General Purpose Diagramming](#general-purpose-diagramming) - [Software Arch Diagrams](#software-arch-diagrams) - [Sequence Diagrams](#sequence-diagrams) - [Entity Relationship Diagrams](#entity-relationship-diagrams) - [Cloud Architecture diagrams](#cloud-architecture-diagrams) - [Code-based Graph tools](#code-based-graph-tools) - [Graphics and SVG Illustrations](#graphics-and-svg-illustrations) - [Wireframing](#wireframing) - [Device Mocks](#device-mocks) - [Illustrations](#illustrations) - [3D illustrations](#3d-illustrations) - [Handwritten Look](#handwritten-look) - [Pixel Art](#pixel-art) - [ASCII Art](#ascii-art) - [matrix8967's list](#matrix8967s-list) - [DIY Graphic Design](#diy-graphic-design) - [Stock Photos and Videos](#stock-photos-and-videos) - [Stock Videos](#stock-videos) - [Video creation tools](#video-creation-tools) - [Avatars](#avatars) - [Individual HTML Elements](#individual-html-elements) - [Anything But Dropdowns](#anything-but-dropdowns) - [Buttons](#buttons) - [Forms](#forms) - [Tables](#tables) - [Datepickers](#datepickers) - [Sound](#sound) - [Lightweight Charts/Dataviz](#lightweight-chartsdataviz) - [Dashboarding](#dashboarding) - [Nice React Components](#nice-react-components) - [React Toasting](#react-toasting) - [React Gamification](#react-gamification) - [Misc Weird fun stuff](#misc-weird-fun-stuff) - [Pure CSS Tricks](#pure-css-tricks) - [SVG/Canvas Masking](#svgcanvas-masking) - [Animations & Transitions](#animations--transitions) - [Loading Spinners](#loading-spinners) - [React Animation Tools](#react-animation-tools) - [Ideas for Improving UX](#ideas-for-improving-ux) - [Onboarding](#onboarding) - [Empty states](#empty-states) - [Design Software](#design-software) - [Figma](#figma) - [Sketch](#sketch) - [Generative Design Tools](#generative-design-tools) - [Non-DOM Browser Technologies](#non-dom-browser-technologies) - [Canvas](#canvas) - [WebGL](#webgl) - [3D](#3d) - [Interaction/Design Inspo](#interactiondesign-inspo) - [Game design inspo](#game-design-inspo) - [Random Stuff That Doesn't Fit Anywhere](#random-stuff-that-doesnt-fit-anywhere) - [Mock APIs](#mock-apis) - [Useful big datasets](#useful-big-datasets) - [Copy and Emails](#copy-and-emails) - [UI Design Challenges and Copywork](#ui-design-challenges-and-copywork) - [Other Lists like this one](#other-lists-like-this-one) - [Helpful podcasts/talks/articles](#helpful-podcaststalksarticles) - [More Free Stuff](#more-free-stuff) - [Paid Design Services of Note](#paid-design-services-of-note) - [Courses](#courses) ## Web Design in 4 minutes Keep it simple: https://jgthms.com/web-design-in-4-minutes/ ## CSS/UI Templates HTML/CSS nice templates - 🆕 https://shuffle.dev/ tailwind/bootstrap/materialui randomly generated templates - https://www.free-css.com/ - https://www.creative-tim.com/ - https://wickedtemplates.com using Tailwind v2 (and [wickedblocks](https://blocks.wickedtemplates.com/)) and https://wickedbackgrounds.com/ - https://www.tailwind-kit.com/ free tailwind component kit - https://daisyui.com/ tailwind theme - https://themeselection.com/ - https://html5up.net/ - https://frontendor.com/ using bootstrap - https://preview.tabler.io/# using bootstrap - https://cruip.com/ HTML, React, Vue.js, and Tailwind templates - https://open-props.style/ design tokens using CSS variables ### Serious CSS Frameworks #### Professional Design Systems - https://designsystemsrepo.com/ - Government - G10 - The UK: https://design-system.service.gov.uk/ - New Zealand is heavily based https://design-system-alpha.digital.govt.nz/ - The US: https://designsystem.digital.gov/ - Canada: https://www.canada.ca/en/government/about/design-system.html - Russia: http://gov.design/ - Australia: https://designsystemau.org/ - France: https://www.systeme-de-design.gouv.fr/ - Germany: https://produkt.gsb.bund.de/DE/Home/home_node.html and https://styleguide.bundesregierung.de/sg-de/ - Other - Argentina: https://argob.github.io/poncho/ - Greece: https://guide.services.gov.gr/ - Netherlands: https://www.rijkshuisstijl.nl/ - Italy: https://designers.italia.it/ - Singapore: https://www.designsystem.tech.gov.sg/ - Europe - Estonia: https://brand.estonia.ee/ - Czech Republic: https://designsystem.gov.cz/ - Ukraine: https://diia.fedoriv.com/ #### Heavier CSS Frameworks bigger learning curve, may have js, but more OOTB) - [Bootstrap](https://getbootstrap.com/) - [Foundation](https://get.foundation/sites/docs/) - [Blaze UI](https://www.blazeui.com/) - [PatternFly](https://www.patternfly.org/v4) - [UIKit](https://getuikit.com/docs/introduction) - [Numl](https://numl.design/#getting-started) - A UI Design Language, UI Library of Web Components, and Runtime CSS Framework for rapidly building interfaces that follow your Design System - Utility CSS - [Bonsai CSS](https://www.bonsaicss.com/) - [Tailwindcss](https://tailwindcss.com/) - Web Components - [Weightless](https://github.com/andreasbm/weightless) - [Shoelace](https://shoelace.style/) ### Drop-in CSS Frameworks lighter, no js. **preview some of these** with https://sites.yax.com/, https://www.cssbed.com/, https://dohliam.github.io/dropin-minimal-css/ and https://github.com/dbohdan/classless-css - No CSS Classes - Pure HTML - 🌟 https://andybrewer.github.io/mvp/ mvp.css - https://yegor256.github.io/tacit/ - https://github.com/alvaromontoro/almond.css has thin fonts - https://picocss.com/ Elegant styles for all natives HTML elements without .classes and dark mode automatically enabled. - https://simplecss.org/demo 4kb incl dark mode - https://watercss.kognise.dev/ Small size (< 2kb) - https://github.com/xz/new.css (https://newcss.net/) 4.8kb - https://github.com/oxalorg/sakura supports extremely easy theming using variables for duotone color scheming. - https://github.com/susam/spcss - https://neat.joeldare.com/ https://github.com/codazoda/neatcss - https://concrete.style/ Tiny (< 1kb) - https://github.com/zichy/fieber (new, wants feedback) - https://mikemai.net/typesettings/index.html (new) - https://css.winterveil.net/ magick.css is a minimalistic, (mostly) classless CSS framework that is designed to be easy to use and easy to understand. It is contained in a single file, and every choice is commented. The goal is to achieve an elegant, but magically playful look, while maximizing readability and the ability to convey information; somewhat akin to the notes of a wizard. - https://github.com/neocities/element (inactive now) - [Spectre.css](https://picturepan2.github.io/spectre/index.html) lightweight (10kb), responsive and modern CSS framework for faster and extensible development. - https://purecss.io/ A set of small (3.7kb), responsive CSS modules that you can use in every web project. - https://gdcss.netlify.app/ (inspired by UK design system) - https://ajusa.github.io/lit/ lit has two modules: lit and util. lit contains all of the basics for a framework, such as a responsive grid, typography, and other elements. util has many CSS utility classes that can be used to extend lit, or any CSS framework. - https://luxacss.com/ - https://jenil.github.io/chota/ good looking, lots of classes and utilities yet small - https://chr15m.github.io/DoodleCSS/ hand drawn look - https://codepen.io/web-dot-dev/pen/abpoXGZ the base classes for web.dev/learn/csss - https://open-props.style/ css variables framework - "tailwind without tailwind"id=30497165). - https://latex.vercel.app/ style your website like a LATEX document - (original version https://github.com/davidrzs/latexcss) - https://picnicss.com/ - lightweight bootstrap alternative ([2014 HN](https://news.ycombinator.com/item?id=8315616)) - https://github.com/gduverger/screen (inactive now) - Collections of even more: - https://github.com/dohliam/dropin-minimal-css - https://github.com/dbohdan/classless-css - https://github.com/ubershmekel/cssbed (https://www.cssbed.com/) - https://thesephist.github.io/paper.css/ and https://thesephist.github.io/blocks.css/ Superlight: [100 bytes of css to look great nearly everywhere](https://dev.to/swyx/100-bytes-of-css-to-look-great-everywhere-19pd) ```css html { max-width: 60ch; padding: 1.5rem; margin: auto; line-height: 1.5rem; font-size: 24px; } ``` see also http://bettermotherfuckingwebsite.com/ ### Fun CSS Frameworks focus is fun - https://www.getpapercss.com/ (handrwritingey css similar to roughjs) - https://terminalcss.xyz/ and https://github.com/webtui/webtui focus is brutalism - https://secretgeek.github.io/html_wysiwyg/html.html This page is a truly naked, brutalist html quine. - https://mrcoles.com/demo/markdown-css/ CSS to make HTML markup look like plain-text markdown. focus is fun/nostalgia - [NES.css](https://github.com/nostalgic-css/NES.css): NES.css is a NES-style(8bit-like) CSS Framework. - [PSone.css](https://github.com/micah5/PSone.css): PS1 style CSS Framework, inspired by NES.css. - [LaTeX.css](https://latex.now.sh/) - Operating System CSS - [React95](https://react95.github.io/React95/) - [98.css](https://github.com/jdan/98.css): A Windows 98 inspired framework for building faithful recreations of old UIs. - [Office 97 clipart in svg format](https://archive.org/details/mso97clipart) - [XP.css](https://github.com/botoxparty/XP.css): A Windows XP inspired framework for building faithful recreations of operating system GUIs. An extension of 98.css. - [7.css](https://khang-nd.github.io/7.css/) - [System.css](https://sakofchit.github.io/system.css/) Retro Apple-inspired UI - [Puppertino](https://github.com/codedgar/Puppertino) meant to mimic the look of macOS. [demo](https://codedgar.github.io/Puppertino/) - [Commodore 64 CSS](http://pixelambacht.nl/2013/css3-c64/) - DOS: [BOOTSTRA.386](https://github.com/kristopolous/BOOTSTRA.386): A vintage 1980s DOS inspired Twitter Bootstrap theme - [a2k](https://a2000-docs.netlify.app/): A Windows 2000 inspired web component library - [Text UI CSS](https://github.com/vinibiavatti1/TuiCss): bios like UI's - [New Dawn](https://github.com/npjg/new-dawn): A mac classic After Dark inspired stylesheet. - [Geocities Bootstrap theme](https://code.divshot.com/geo-bootstrap/) - [Metalmorphism](https://www.metalmorphism.com): High-quality metallic UI kit - more https://dev.to/iainfreestone/10-resources-for-recreating-old-school-retro-user-interfaces-today-hkj focus in futurism - Arwes - Futuristic Sci-Fi and Cyberpunk Graphical User Interface Framework for Web Apps https://arwes.dev/ - http://augmented-ui.com/ - Futuristic, Sci-Fi shaping for any element ### No Framework Instead of using a framework, [consider not using one](https://www.smashingmagazine.com/2022/05/you-dont-need-ui-framework/). ### CSS Resets more control in exchange for more work on your part. - eric meyer v2 https://meyerweb.com/eric/tools/css/reset/ - josh comeau reset https://www.joshwcomeau.com/css/custom-css-reset/ - [Chris Coyier comments](https://css-tricks.com/notes-on-josh-comeaus-custom-css-reset/) - https://github.com/jensimmons/cssremedy css working group's reset if it didnt have to worry about tech debt - https://github.com/tiaanduplessis/nanoreset - https://nicolas-cusan.github.io/destyle.css/ - https://hankchizljaw.com/wrote/a-modern-css-reset/ - udpated https://andy-bell.co.uk/a-more-modern-css-reset/ - commentary https://chriscoyier.net/2023/10/03/being-picky-about-a-css-reset-for-fun-pleasure/ - https://gist.github.com/DavidWells/18e73022e723037a50d6 - http://necolas.github.io/normalize.css/ (yes, technically does more than a reset) - https://github.com/sindresorhus/modern-normalize is a smaller version that just supports latest Chrome, Firefox, and Safari - Tailwind's https://tailwindcss.com/docs/preflight/ is built atop normalize - https://github.com/kripod/css-homogenizer - a modern take on Eric Meyer's Reset, based upon direct comparison between user agent style sheets. - Jamie Kyle CSS preset https://twitter.com/buildsghost/status/1360343126510981122?s=20 ### CSS A11y Checkers - https://github.com/jackdomleo7/Checka11y.css - https://ffoodd.github.io/a11y.css/ - https://github.com/mike-engel/a11y-css-reset - chrome extension https://chrome.google.com/webstore/detail/a11ycss/iolfinldndiiobhednboghogkiopppid?hl=en ### Tailwind Component Libraries - https://github.com/thedevdojo/tails - http://tailwindcomponents.com/ - https://tailwindui.com/components - https://merakiui.com/ - https://www.gust-ui.com/ - https://flowbite.com/docs/getting-started/introduction/ - https://mertjf.github.io/tailblocks/ - 🌟 https://www.hyperui.dev/ - Tailwind visual builder - https://devdojo.com/tails - https://shuffle.dev/ - https://daisyui.com/ - https://www.tailwind-kit.com/ ### React Component Libraries - [Recent comparison/discussion](https://www.reddit.com/r/reactjs/comments/vtgbai/comparison_of_ui_libraries_for_react/) of: - DaisyUI - React Bootstrap - ChakraUI - Tailwind UI - Flowbite React - Material UI - https://www.tremor.so/ Simple and modular components to build dashboards in a breeze. Fully open-source, made by data scientists and software engineers with a sweet spot for design. - [Radix UI](https://www.radix-ui.com/) Unstyled, accessible components for building high‑quality design systems and web apps in React. - [Mantine](https://mantine.dev/) More than 120 customizable components and hooks to cover you in any situation. - https://nextui.org/ uses Stitches, includes light and dark UI components out-of-the-box along with a default color palette that might be good for quickly building landing pages or other content that’s not initially tied to any branding. - https://akaspanion.github.io/ui-neumorphism/ - https://component.gallery/ - https://headlessui.dev/ - https://ui.supabase.io/ - https://ui.shadcn.com/ Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source. - https://magicui.design/ 20+ free and open-source animated components built with React, Typescript, Tailwind CSS, and Framer Motion. 100% open-source, and customizable. - [Fancy Components](https://www.fancycomponents.dev/) ([tweet](https://x.com/nonzeroexitcode/status/1871259468597702962))): a collection full of fancy, fun, edgy and useless React components! ## Layout ### Stacking and Elevation Good idea to have an elevation system in place. Material's is pretty good: https://material.io/design/environment/elevation.html | Component | Default elevation values (dp) | | --------------------------------------------------------- | ----------------------------- | | Dialog | 24 | | Modal bottom sheet Modal side sheet | 16 | | Navigation drawer | 16 | | Floating action button (FAB - pressed) | 12 | | Standard bottom sheet Standard side sheet | 8 | | Bottom navigation bar | 8 | | Bottom app bar | 8 | | Menus and sub menus | 8 | | Card (when picked up) | 8 | | Contained button (pressed state) | 8 | | Floating action button (FAB - resting elevation) Snackbar | 6 | | Top app bar (scrolled state) | 4 | | Top app bar (resting elevation) | 0 or 4 | | Refresh indicator Search bar (scrolled state) | 3 | | Contained button (resting elevation) | 2 | | Search bar (resting elevation) | 1 | | Card (resting elevation) | 1 | | Switch | 1 | | Text button | 0 | | Standard side sheet | 0 | More notes on FAB implementation- https://youtu.be/RXopH5t2Kww ### 2D Spacing More. Spacing. Please. [Double your whitespace](https://learnui.design/blog/7-rules-for-creating-gorgeous-ui-part-1.html#rule-3-double-your-whitespace) ### Responsive Layout Breakpoints When in doubt, use Material Layout: https://material.io/design/layout/responsive-layout-grid.html#breakpoints | Screen size | Margin | Body | Layout columns | | ------------------- | ------- | ------- | -------------- | | Extra-small (phone) | | | | | 0-599dp | 16dp | Scaling | 4 | | Small (tablet) | | | | | 600-904 | 32dp | Scaling | 8 | | 905-1239 | Scaling | 840dp | 12 | | Medium (laptop) | | | | | 1240-1439 | 200dp | Scaling | 12 | | Large (desktop) | | | | | 1440+ | Scaling | 1040 | 12 | - https://piccalil.li/tutorial/build-a-responsive-media-browser-with-css/ - [Tailwind's breakpoints](https://tailwindcss.com/docs/breakpoints) don't come with layout recommendations but here they are: - sm: 640px - md: 768px - lg: 1024px - xl: 1280px - 2xl: 1536px ### Layout Bleed A nice bleed lets you put emphasis on things selectively. You want a normal width, a popout width, and a "full bleed" width. Optional for an intermediate one. This is the best version of bleed implementation https://ryanmulligan.dev/blog/layout-breakouts/ (borrows from https://joshwcomeau.com/css/full-bleed/) This is adapted to be responsive ```css ``` Then you can selectively use the `popout`, `feature`, and `full` classes as needed ```css .content > * { grid-column: content; } .popout { grid-column: popout; } .feature { grid-column: feature; } .full { grid-column: full; } ``` ### Other Layout Tools and tips - 🌟 https://every-layout.dev/ - https://web.dev/patterns/layout/ - https://gedd.ski/post/article-grid-layout/ - CSS grid generator tools - https://grid.layoutit.com/ - https://cssgrid-generator.netlify.app/ - https://layout.bradwoods.io/ - https://uisual.com/ - https://csslayout.io/ ([github](https://github.com/phuoc-ng/csslayout)) - Visual Hierarchy https://youtu.be/qZWDJqY27bw ## Typography typography matters! https://twitter.com/kvncnls/status/1399077512014086150?s=21 ### Fonts - Consider your site personality - Elegant/Classic: serif like [`Freight Text`](https://fonts.adobe.com/fonts/freight-text), [`Adobe Garamond`](https://fonts.adobe.com/fonts/adobe-garamond), [`PT Serif`](https://fonts.google.com/specimen/PT+Serif) - Playful: rounded sans serif like [`Proxima Soft`](https://fonts.adobe.com/fonts/proxima-soft) - Plain/Safe: neutral sans serif like [`Freight Sans`](https://fonts.adobe.com/fonts/freight-sans), [`Inter`](https://rsms.me/inter/), [`Proxima Nova`](https://fonts.adobe.com/fonts/proxima-nova) - Sciency/technical: squared off (geometric) sans like [`DIN`](https://fonts.adobe.com/fonts/din-2014), [`Industry`](https://fonts.adobe.com/fonts/industry) - monospace fonts - https://devfonts.gafi.dev/ - https://coding-fonts.css-tricks.com/ - Programming fonts - https://www.programmingfonts.org/ ([discussion](https://news.ycombinator.com/item?id=32032029)) - [14 free programming fonts](https://twitter.com/zenorocha/status/1359508613606199301?s=20) - Variable fonts: https://whirlybirdie.com/ - Erik Kennedy font https://mobile.twitter.com/erikdkennedy/status/1575135945359097864 - Novelty: http://velvetyne.fr/ - [use a Uniwidth font (not monospace) for interface design](https://uxdesign.cc/uniwidth-typefaces-for-interface-design-b6e8078dc0f7) - Fonts have [fashions/trends](https://twitter.com/jgulden/status/1507467476807806979?s=21). current vogue is Inter. - Free fonts that are great with examples (thanks [@edadams](https://github.com/sw-yx/spark-joy/issues/22)) - Google Fonts - ([see Harry Roberts on Google Font loading perf](https://csswizardry.com/2020/05/the-fastest-google-fonts/) - you should [self host this](https://wicki.io/posts/2020-11-goodbye-google-fonts/)) - https://www.colorsandfonts.com/font-pairing - https://www.nngroup.com/articles/pairing-typefaces/ - https://fontflipper.com/upload Just upload an image, write some sample copy. And flip through 500 Google fonts one by one. - https://bueltge.de/free-web-font-combinations/ - [40 best google fonts by Typewolf](https://www.typewolf.com/google-fonts) - [50 selections of google fonts](https://www.notion.so/e873b52e0cc54f2981acc430417ba61d?v=05acdd40b0564920be69f5347f619bc3) - [Noto Sans](https://www.google.com/get/noto/) - [Fira Sans](https://fonts.google.com/specimen/Fira+Sans) - related to [Fira Code](https://github.com/tonsky/FiraCode) for devvy stuff - [Raleway](https://fonts.google.com/specimen/Raleway) - [Open Sans](https://fonts.google.com/specimen/Open+Sans) - [Recursive](https://www.recursive.design/) - 1 variable font that can handle both monospace and UI usecases, very versatile - Cavivanar https://twitter.com/atav1k/status/1178096244490723328?s=19 - Jack Butcher faves - Rubik - Work Sans - IBM Plex Family (Mono, Sans, Serif) - Fontshare 50 free fonts https://www.fontshare.com/ - [Erik Kennedy picks from these](https://twitter.com/erikdkennedy/status/1374382006658723840?s=20) - Premium-looking Free Fonts https://learnui.design/blog/ultimate-guide-similar-fonts.html - Apercu · Avenir · Circular · DIN · Futura · Gotham · Helvetica · Proxima Nova · Times New Roman - https://beautifulwebtype.com/ - Chivo https://www.latinxswhodesign.com/ - [Lato](http://www.latofonts.com/) Well known, very readable, pretty, client favorite - [Libre Franklin](https://beautifulwebtype.com/libre-franklin/) Elegant and thin - [IBM Plex Sans](https://www.ibm.com/plex/) Loads of weights, beautifully done - example: https://thesephist.com/posts/inc/ - [Clear Sans](https://01.org/clear-sans) - [Atkinson Hyperlegible](https://brailleinstitute.org/freefont) from Braille institue - [Inter](https://rsms.me/inter/) [Rasmus'](https://rsms.me/) typeface carefully crafted & designed for computer screens. - [Jetbrains Mono](https://www.jetbrains.com/lp/mono/) - Monospace font for devvy stuff - Handwritten Fonts - great for presentations, annotated illustrations - https://www.urbanfonts.com/fonts/handwritten-fonts.htm - Caveat and Reenie Beanie on google fonts https://twitter.com/round/status/1178090890004455424?s=19 - https://fontsarena.com/ - https://uncut.wtf/ 90 typefaces with a focus on contemporary, or modern, type. - "Open Source Beautiful Fonts" [by Gontijo](https://twitter.com/gontijodesign/status/1394624373823348737) - Font Pairing - https://fontpair.co/ - https://fontjoy.com/ - https://fontsinuse.com/ - see how [Steve Schoger uses it](https://youtu.be/S6-q5BheEYU) - http://femmebot.github.io/google-type/ - https://www.boldwebdesign.com.au/ - https://justmytype.co/ - https://bueltge.de/free-web-font-combinations/ - Canva has a great tool: https://www.canva.com/font-combinations/ - https://www.colorsandfonts.com/font-pairings - Read: https://www.nngroup.com/articles/pairing-typefaces/ - [Font variants and oldstyle numbers](https://www.jonathan-harrell.com/blog/better-typography-with-font-variants/) - steve schoger blessed typekit fonts **for UI's** - proxima nova - aktiv grotesk - acumin pro - Museo Sans ([example](https://youtu.be/ZJj7uNdzPpM?t=566)) and similar from [TypeKit](https://fonts.adobe.com/fonts?browse_mode=default&filters=cl:ss,rc:p,ns:uc) - https://practicaltypography.com/system-fonts.html - https://practicaltypography.com/free-fonts.html - eye catching fun fonts - https://www.haleyfiege.fun/fonts - pixel fonts https://twitter.com/castpixel/status/1281345373336985612?s=20 - CSS 3D text https://markdotto.com/playground/3d-text/ - JS 3D text https://bennettfeely.com/ztext/ - TypeSpiration https://typespiration.com/ premade font pairings for you - more opinions places - https://muffingroup.com/blog/best-free-fonts/ - https://type-scale.com/ - https://practicaltypography.com - http://thinkingwithtype.com/ - https://typographyforlawyers.com/ - http://webtypography.net/intro/ - https://www.youtube.com/watch?v=Vd6jZR-GknA - [6 ways to justify font choices in your designs](https://learnui.design/blog/justifying-font-choices.html) - [statistical data on font usage](https://dribbble.com/stories/2021/04/26/web-design-data-fonts) - Study of best font for online reading - inconclusive https://news.ycombinator.com/item?id=31156018
Premium fonts and some examples - Proxima Nova https://a16z.com/ (on Typekit) - Graphik https://type.today/en/Graphik - https://www.typewolf.com/ - MD Prime - used on CSS tricks https://www.youtube.com/watch?v=mTIatvwm1MM - Arida Black (maggie's font) https://www.myfonts.com/fonts/latinotype/arida/black/ - [Dank Mono](https://dank.sh/) - Tekton https://twitter.com/round/status/1178090204562968576?s=19 you can learn more about proofing premium fonts here https://www.typography.com/blog/text-for-proofing-fonts
#### Font Loading Strategy - https://github.com/zachleat/web-font-loading-recipes - https://iainbean.com/posts/2021/5-steps-to-faster-web-fonts/ - Everything [Harry Roberts](https://twitter.com/csswizardry) writes - [Google Fonts strategy](https://csswizardry.com/2020/05/the-fastest-google-fonts/) ```html ``` - `font-display: optional` [may be good](https://css-tricks.com/a-font-display-setting-for-slow-connections/) - but harry roberts [doesnt like it](https://csswizardry.com/2020/05/the-fastest-google-fonts/#comparisons-and-visualisations) - don't load fonts if `prefers-reduced-data` [see Kilian Valkhof](https://css-tricks.com/responsible-conditional-loading/) ### Line Height https://www.thegoodlineheight.com ### Line Width Don't forget setting `max-width` - betweeen 60-75chars is good. - https://pearsonified.com/characters-per-line/ - https://grtcalculator.com/ - https://www.charactercountonline.com/ - https://charcounter.com/en/ You may wish to use `max-width: 60ch` on content. [Note on the `ch` unit not being EXACTLY 60 chars](https://meyerweb.com/eric/thoughts/2018/06/28/what-is-the-css-ch-unit/) ### Kerning and char spacing
Don't forget setting Leading (line height) on your h1 text and minding kerning: ![https://hottips.imgix.net/2020/07/044-tracking-animation.gif](https://hottips.imgix.net/2020/07/044-tracking-animation.gif) - https://creativemarket.com/blog/whats-the-difference-between-leading-kerning-and-tracking - https://99designs.com/blog/tips/11-kerning-tips/
When you use allcaps section titles, set the tracking (`letting-spacing`) a little wider. ([Example from Steve Schoger](https://www.youtube.com/watch?v=S6-q5BheEYU)) ### Font Sizing - DON'T GO CRAZY WITH FONT SIZES. Try to use 1-2 sizes and vary other things like weight, space/leading, color, casing. - Don't rely on varying fontsize to control hierarchy - also use font weight (normal = 400/500, heavy = 600/700) and color - Don't go under font weight 400, use a lighter color or smaller fontsize instead - Fluid typography with [`clamp`](https://developer.mozilla.org/en-US/docs/Web/CSS/clamp): `font-size: clamp(1.125rem, 1rem + 2vw, 1.5rem)` - [CSS Tricks](https://css-tricks.com/design-v18/) v18: `font-size: clamp(2rem, calc(2rem + 1.2vw), 3rem);` - Another responsive typography fallback - [`font-size: calc(1rem + 2px + ((100vw - 550px) / 250))`](https://twitter.com/Kikobeats/status/1093620157912616966?s=20) - you can [fit text to screen width](https://twitter.com/shshaw/status/1240647643388395521?s=20) - demo it with this https://fluid-typography.netlify.app/ - [Inter/Tailwind font-size combo](https://twitter.com/samselikoff/status/1204412222593568769?s=20) - [BAD, SLOW fontsize calc](https://twitter.com/drewml/status/1115339490179072000?s=20) - Note: `vw` has known a11y issues: Preserve Zooming. [Sara Soueidan](https://twitter.com/SaraSoueidan/status/1121645149983891457?s=20) recommends wrapping with `calc`, e.g. `font-size: calc(16px + .3vw);` - [Complete font-size notes](https://manishearth.github.io/blog/2017/08/10/font-size-an-unexpectedly-complex-css-property/) - the `hanging-punctuation` property in CSS https://news.ycombinator.com/item?id=38441747 - Establishing your own type scale https://typescale.com/ ### Typography Talks - Typography for Developers (2hrs) https://www.youtube.com/watch?v=agbh1wbfJt8 - Adam Argyle on Typography https://www.youtube.com/watch?v=aaro26rK61o&t=874s - Web Typography (48mins) https://www.youtube.com/watch?v=hbIZX6tE9JY 1. Don't trust computers 2. Use the default font size for paragraph text 3. Adjust type size according to reading distance 4. Adjust the font size if the typeface requires it 5. Set tables to be read 6. Resize display text as you would an image 7. Reduce your playload 8. Optimise page render timing - https://www.youtube.com/watch?v=OgsHSVsNRdg ### Other Typography Resources - 5 minute guide to Typography https://www.pierrickcalvez.com/journal/a-five-minutes-guide-to-better-typography - Typography in 10 minutes https://medium.com/nextux/become-a-typography-nerd-in-under-10-minutes-5a7eda093cb3 - Quick Guide to Typography for webdevs https://sinja.io/blog/web-typography-quick-guide - typography for long form articles - https://css-tricks.com/designing-for-long-form-articles/ - Font smoothing - [explained](https://szafranek.net/blog/2009/02/22/font-smoothing-explained/), [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth) - Tool for learning what fonts other people use https://fontanello.oktavilla.se/ - [FlowType.js](https://simplefocus.com/flowtype/) - [FitText](https://css-tricks.com/viewport-sized-typography/) - https://wh0.github.io/glitter/ It’s a generator that produces text in a glitter-like style, which you can save as SVG. Definitely not for 99% of your projects, but a pretty cool text effect. - if all letters at the same height all caps this is called [Majuscule](https://www.wordgenius.com/words/majuscule) - International fonts stack https://www.figma.com/blog/when-fonts-fall/ - In future, try out [leading-trim](https://medium.com/microsoft-design/leading-trim-the-future-of-digital-typesetting-d082d84b202) - https://piccalil.li/tutorial/improve-the-readability-of-the-content-on-your-website - css podcast primer on typography https://thecsspodcast.libsyn.com/tcp036-v2 - https://www.typewolf.com/checklist If building a collaborative design tool that offers font choice, see how Figma does it https://youtu.be/kVD-sjtFoEI ## Colors Pick a primary "brand" color to match your personality. [DO NOT OVERUSE IT.](https://twitter.com/steveschoger/status/1299372332579008515) - Blue: safe, familiar - Gold: expensive, sophisticated ([Examples](https://twitter.com/erikdkennedy/status/948914185596960768), [again](https://twitter.com/erikdkennedy/status/1331236629571362816?s=20)) - Pink: fun, not so serious You can also have a grey for secondary content, and lighter grey for tertiary content. Don't use system default/named colors, too brutal. Soften it a bit. "[Never use black](https://ianstormtaylor.com/design-tip-never-use-black/)" has been proposed as a rule, but [this is debated](https://news.ycombinator.com/item?id=24303042). Here's a [more complete primer on color personalities](https://99designs.com/blog/tips/logo-color-meanings/) with more examples. **Mind accessibility**. 1 in 12 men and 1 in 200 women have color blindness. Make sure to check that important distinctions can be perceived. - https://twitter.com/LoanReads/status/1313974210151305218?s=20 - https://www.colourblindawareness.org/colour-blindness/ - use the concept of "luminance contrast" https://twitter.com/swyx/status/1351566026090053632 - https://randoma11y.com/?color=springgreen
Example blueish palette Monotone: - White-ish Card background: #FCFCFC - Blueish-Black icons: #1C1E20 - Lighter text on white: #485963 - Bluish background: #202D34 Multicolor: - Black: #1d1d1d. - purple: #b066ff; - blue: #203447; - lightblue: #1f4662; - blue2: #1C2F40; - yellow: #ffc600; - pink: #EB4471; - white: #d7d7d7;
You may or may not want to use generic names if you want it swappable for dark mode: Example [yellowish palette](https://codepen.io/oliviale/full/XyqQYL): - primary-light: #FFD151 mustard - primary-dark: #FFAE03 UCLA gold - secondary-success: #20A39E light sea green - secondary-warning: #EF5B5B sunset orange - secondary-info: #08D377 dark cerulean - grays: #E8E9E9, #D1D3D4, #BABDBF, #808488, #666A6D, #4D5052, #333537, #1C1D1E Examples: https://dev.to/dcodeyt/add-dark-mode-to-your-websites-with-css-5bh4 **Note - THIS IS DISPUTED!!!** Even Slack's impl has separate light and dark theming. > The problem is "primary" isn't a color, it's a measure of contrast in the current context. On the same page you might have a white panel with a black button and a black panel with a white button, and both of those buttons are "primary" even though they are different colors. - [Adam Wathan](https://twitter.com/adamwathan/status/1291724757402976257?s=20)
One liner dark mode (careful about perf!): `filter: invert(100%) hue-rotate(180deg);` - more [filters here](https://svelte.dev/repl/defc901c5f434ed4a76161605cf1db76?version=3.29.0) https://workos.com/blog/5-lessons-we-learned-adding-dark-mode-to-our-platform?ref=sidebar ### Palette Generators - https://atmos.style A toolbox to create better UI color palettes. - https://colorgen.dev/ - https://color.adobe.com/create - https://www.colorsandfonts.com/ - https://colorswall.com/ - https://coolors.co/ - https://colorpalettes.earth/ displays color palettes sourced from images of nature (taken from Unsplash) - https://colorsinspo.com - https://huey.design/ Rapid color palettes across the rainbow - https://duo.alexpate.uk/ - https://colorhunt.co/ - https://2colors.colorion.co/ - https://meodai.github.io/poline/ Poline - enigmatic color palette generator - https://www.colorsandfonts.com/color-palettes - https://dribbble.com/colors/4030e8 - https://palettte.app/ (advanced tool; try importing the default palettes) - https://www.paletter.app/ - Create Professional Color Palettes from a Single Color - http://colours.neilorangepeel.com/category/red/ - https://www.colorbox.io (by Lyft Design https://design.lyft.com/) - Consider [darker/lighter color variations](https://learnui.design/blog/color-in-ui-design-a-practical-framework.html) - https://croncolor.com/color-tool - https://leonardocolor.io/?colorKeys=%236fa7ff&base=ffffff&ratios=3%2C4.5&mode=CAM02 - https://happyhues.co/ - https://www.colourlovers.com/ _recommended by Tracy Osborn_ - https://flatuicolors.com/ - https://colorsupplyyy.com/ - [chroma.js color palette helper](https://gka.github.io/palettes/#/9|s|00429d,96ffea,ffffe0|ffffe0,ff005e,93003a|1|1) - https://palx.jxnblk.com/ - https://hotpot.ai/assistant/color_assistant Get suggestions for palettes, gradients, and text colors. Hit the space bar for ML-powered ideas. - https://yeun.github.io/open-color/ - http://khroma.co/ neural network generated color palettes - https://learnui.design/tools/data-color-picker.html Color picker for data visualizations - https://learnui.design/tools/accessible-color-generator.html Accessible color generator - https://maketintsandshades.com/ Generate tint and shades from hex code - http://paletton.com/ - Tailwind: - https://tailwind.ink/ - https://www.tailwindshades.com/ - https://tailwind.simeongriggs.dev - https://javisperez.github.io/tailwindcolorshades/ - https://tailwind-color-picker.jessarcher.com - https://www.tints.dev/ ([HN](https://news.ycombinator.com/item?id=39227831)) - Special usecases: - Mix colors in pure CSS https://css-tricks.com/mixing-colors-in-pure-css/ - [HSLuv](https://www.hsluv.org/comparison/) color space is preferable to HSL. [Palette generator](https://colors.madscience.design/) - why not hsl https://wildbit.com/blog/accessible-palette-stop-using-hsl-for-color-systems - https://colors.lol/ Overly descriptive color palettes (fun) - English color names: - https://hexwords.netlify.app/ - https://colornames.org/ - https://c0ffee.surge.sh/ ### Color Gradients Note: Default gradients often have "hard edges" that are too rough. ([example](https://twitter.com/JoshWComeau/status/1401926170589863946), [example](https://twitter.com/finmoorhouse/status/1543580508508065794?s=21&t=PBDS5C7C4FeqBA0wctOaCQ)). [Add a third color stop in the middle and boost saturation](https://twitter.com/erikdkennedy/status/1612867685192466432?s=20). You can use [esaing gradients](https://larsenwork.com/easing-gradients/) in future. - Gradient Generator https://www.learnui.design/tools/gradient-generator.html - create linear, radial, or conic gradients in 8 color spaces, all avoiding [the "gray dead zone" problem](https://css-tricks.com/the-gray-dead-zone-of-gradients/)) - https://www.joshwcomeau.com/gradient-generator/ - gradients https://mybrandnewlogo.com/color-gradient-generator - CSS Gradient Text https://twitter.com/argyleink/status/1281623252662489088/photo/2 - 🌟 https://mycolor.space/gradient Generate a CSS Color Gradient - https://huemint.com/ Huemint uses machine learning to create unique color schemes for your brand, website or graphic - https://webgradients.com/ free collection of 180 linear gradients - https://uigradients.com/#Petrichor - https://gradient-king.vercel.app/ - Adam Argyle conic CSS gradient examples https://www.conic.style/ - https://www.grabient.com/ - https://www.colorsandfonts.com/color-gradients - ANIMATED GRADIENTS https://www.gradient-animator.com/ - Subtle gradients by bumping only saturation on HSL (thanks [argyleink](https://twitter.com/argyleink/status/1197205254623780864)) - You can [really take this to the extreme](https://twitter.com/argyleink/status/1216815958917992450?s=20)! - Tailwind - https://hypercolor.dev/ - Gradient designer with interpolation in various color spaces https://akx.github.io/gradient/ ### Color Theory Not tools but still important so here they are - [A Beginner’s Guide to Applying Color in UI Design](https://georgefrancis.dev/writing/a-beginners-guide-to-applying-color-in-ui-design/?ref=sidebar) - [Sarah Drasner on Color](https://css-tricks.com/nerds-guide-color-web/) - [Louisa Barret on Color](https://www.youtube.com/watch?v=NdKAUXAvt8E) - [Erik Kennedy on HSB](https://learnui.design/blog/the-hsb-color-system-practicioners-primer.html) - [Erik Kennedy on color variations](https://learnui.design/blog/color-in-ui-design-a-practical-framework.html) - [JustinMezzell on Color](https://medium.com/@JustinMezzell/how-i-work-with-color-8439c98ae5ed) - advanced stuff on picking color tone/temperature. [Basic version by Steve Schoger](https://twitter.com/steveschoger/status/1502318105124646924) - [Justin Baker on Color Theory](https://medium.muz.li/the-ultimate-ux-guide-to-color-design-4d0a18a706ed) - [Convertkit on Color Theory](https://convertkit.com/color-theory) - [Josh Comeau on Color Palettes](https://courses.joshwcomeau.com/css-for-js/treasure-trove/014-color-palettes) - [Stripe - Designing accessible color systems](https://stripe.com/blog/accessible-color-systems) - [How to do Dark Mode right](https://darkmodedesign.xyz/) - Zeno Rocha 5 tips for dark mode https://workos.com/blog/5-lessons-we-learned-adding-dark-mode-to-our-platform?ref=sidebar - [Inventorying and naming a Color Palette at UXPin](https://medium.com/@marcintreder/design-system-sprint-2-one-color-palette-to-rule-them-all-d0114ed1f659) - [Reasoning about Color](http://notes.neeasade.net/color-spaces.html) some light reading on color spaces and transforms (eg "pastelize" operation) - [Refactoring UI on Building Your Color Palette](https://refactoringui.com/previews/building-your-color-palette/) - [Numeric systems of color palettes explained](https://n8d.at/the-numeric-colour-palettes-in-modern-web-frameworks-explained) - [Monochromatic color scheme guide](https://www.vectornator.io/blog/monochromatic-colors) - [Canva's color wheel has a color theory guide](https://www.canva.com/colors/color-wheel/) - https://youtu.be/Co75kmQtbaA - (fun) [history of primary colors](https://publicdomainreview.org/essay/primary-sources) - big list of color names: https://github.com/meodai/color-names - [RGM to Lab color space math](https://observablehq.com/@mbostock/lab-and-rgb) - (way too detailed) history and guide to color pickers https://bottosson.github.io/posts/colorpicker/ ### Color Theory for Data Visualization Dataviz is a special category since it's not just design, but information. Credit to [Teej's thread](https://twitter.com/teej_m/status/1566158539868889088?s=20&t=BlqyJ1CxiiLTND7AQA0Qag). - [Color Use Guidelines for Data Representation. Cynthia Brewer. Proc. Section on Statistical Graphics, American Statistical Association, pp. 55-60, 1999. Color Scheme Explorer.](http://www.personal.psu.edu/cab38/ColorSch/ASApaper.html) - [How to pick more beautiful colors for your data visualizations. Lisa Charlotte Rost](http://idl.cs.washington.edu/papers/quantitative-color/) - [Color Use Guidelines for Data Representation - Cynthia A. Brewer](http://www.personal.psu.edu/cab38/ColorSch/ASApaper.html) - [How to pick the least wrong colors - An algorithm for creating color palettes for data visualization](https://matthewstrom.com/writing/how-to-pick-the-least-wrong-colors) - ([HN](https://news.ycombinator.com/item?id=31639009)) - [Paul Tol's INTRODUCTION TO COLOUR SCHEMES](https://personal.sron.nl/~pault/) - https://blog.datawrapper.de/category/color-in-data-vis/ - [How to pick more beautiful colors for your data visualizations](https://blog.datawrapper.de/beautifulcolors/) - Open source libraries - [D3 Color scales](https://github.com/d3/d3-scale-chromatic) - [Colorbrewer schemes](https://colorbrewer2.org/#type=sequential&scheme=YlOrBr&n=3) - [Matplotlib colormaps](https://matplotlib.org/stable/tutorials/colors/colormaps.html) - Books - Chapter 4: [Storytelling with Data](https://www.amazon.com/Storytelling-Data-Visualization-Business-Professionals-ebook/dp/B016DHQSM2/) - [Art + Data: A Collection of Tableau Dashboards](https://www.amazon.com/dp/0998105740/ref=cm_sw_r_apa_i_D67GCR5WN3E1AS56PJQ3_0) - [A Dictionary of Color Combinations](https://www.amazon.com/dp/4861522471/ref=cm_sw_r_api_i_WWRZD5HZMPK1PBHE79WV_0) - [Visualize This: The FlowingData Guide to Design, Visualization, and Statistics](https://www.amazon.com/Visualize-This-FlowingData-Visualization-Statistics-ebook/dp/B005CCT19M) - Misc recommended papers - [Somewhere Over the Rainbow: An Empirical Assessment of Quantitative Colormaps. Yang Liu, Jeffrey Heer. ACM CHI 2018.](http://idl.cs.washington.edu/papers/quantitative-color/) - [Colorgorical: Creating Discriminable and Preferable Color Palettes for Information Visualization. Connor Gramazio, David Laidlaw & Karen Schloss. IEEE Transactions on Visualization and Computer Graphics. 2017.](http://gramaz.io/pdf/gramazio-2016-ccd.pdf) ## Backgrounds ### Background Gradients and Patterns Not just for background backgrounds - applying gradients and background images to text is super underrated. Examples: - [https://philcoffman.com/](https://user-images.githubusercontent.com/6764957/64589989-7985f500-d374-11e9-9d8a-2a8888df6981.png) - [https://css-tricks.com/](https://user-images.githubusercontent.com/6764957/64590103-beaa2700-d374-11e9-8a84-95ab4826a577.png) - https://magicmind.co/ very subtle texture - https://increase.com/ Background Radial Bursts behind images: - https://cssgradient.io/ - https://youtu.be/U4z-wph1NyI - https://onepagelove.com/tag/gradients ![https://hottips.imgix.net/2020/07/063-burst.jpg?w=1200&auto=compress](https://hottips.imgix.net/2020/07/063-burst.jpg?w=1200&auto=compress) #### Background Gradients Make sure to see the [Color Gradients](#color-gradients) section to generate gradients ```css background-image: linear-gradient( 120deg, hsl(200 50% 90%) 0%, hsl(200 100% 90%) 100% ); ``` Linear gradients can be "eased" to be smoother: https://css-tricks.com/easing-linear-gradients/ - https://meshgradient.com/ swirly backgrounds like apple - https://meshgradient.in/ generate mesh gradient backgrounds - https://shaders.paper.design/ paper texture gradients - noise textures https://x.com/kubadesign/status/1883884665448325356/photo/1 #### Background Patterns - https://trianglify.io/ low polly pattern generator - https://leaverou.github.io/css3patterns/ - https://github.com/bansal-io/pattern.css - http://www.heropatterns.com/ SVG Repeating Patterns Generator - https://doodad.dev/pattern-generator/ - https://www.wowpatterns.com/free-vector-art thousands of freevector patterns, based on shapes, organic shapes as well as themes, such as animals, beach, city and people, festivals, florals etc. - https://wickedbackgrounds.com/?ref=producthunt svg background waves - https://www.svgbackgrounds.com/ - https://www.transparenttextures.com/ - https://www.toptal.com/designers/subtlepatterns/ (exports png though :( ) - https://www.flaticon.com/pattern/ (create a bg pattern of icons) - https://coolbackgrounds.io/ - https://tabbied.com/ abstract Doodles with generated patterns - https://css-doodle.com/ - https://hero-generator.netlify.app/ hero picture CSS generator - https://www.gradientmagic.com/ - https://kumiko-generator.netlify.app/ - http://thepatternlibrary.com/ - https://msurguy.github.io/flow-lines/ produces random geometric lines, and we can adjust the formulas and distances between the shapes drawn - http://svgbackgrounds.com/ - https://haikei.app/ - web app to generate unique SVG shapes, backgrounds, and patterns - https://pattern.monster/ 180 patterns, and you can filter them by mode and color, and search - http://iros.github.io/patternfills/ - plenty of black-and-white patterns, also available from the command line - https://www.kennethcachia.com/plain-pattern/ allows you to upload an SVG shape (or use one of the existing ones) and it creates a repeating pattern which can be exported as SVG. - http://www.patternify.com/ CSS Pattern generator that allows you to define a pattern in a 10×10 grid - https://www.magicpattern.design/tools/css-backgrounds library of pure CSS background patterns like ZigZag or diagonal ones. - https://bgjar.com/ - https://products.ls.graphics/paaatterns/ - https://notchr.is/patterns/ (Really simple SVG Patterns using single unicode characters.) - https://doodad.dev/pattern-generator/ (Pattern generator that exports to png, jpg and svg.) - https://creatica.app/backgrounds/ (Generate unique SVG Backgrounds and patterns for your websites) - https://mossaik.app/ SVG Pattern generator, waves, and blobs. - wave dividers - https://www.shapedivider.app/ generate custom shape dividers - https://svgwave.in/ - https://getwaves.io/ generate SVG waves - https://wavelry.vercel.app/ choose between sharp, linear and smooth waves - https://www.outpan.com/app/9aaaf27303/svg-gradient-wave-generator adjust amplitudes, smoothness, saturation and hues - https://loading.io/background/m-wave/ generate waves, and even animate them - https://haikei.app/ full fledged generate SVG assets, from layered waves to stacked waves and blob scenes - svg waves generator https://codepen.io/jh3y/full/poEvKxo - https://wweb.dev/resources/css-separator-generator ### Background Illustrations - https://freeillustrations.xyz/ ### Background SVG texture - for increase.com https://twitter.com/bdc/status/1443557247813099522?s=20 - https://www.transparenttextures.com/ ### Misc Backgroundy Stuff - CSS Doodle https://css-doodle.com/ - CSS backgroundy patterns https://leaverou.github.io/css3patterns/ - this guy https://twitter.com/yuanchuan23 - super advanced pokemon shiny card gradients https://github.com/simeydotme/pokemon-cards-css - Generative Gradients http://generative-placeholders.glitch.me/ - Generateive SVG https://dev.to/georgedoescode/a-generative-svg-starter-kit-5cm1 - Image Placeholders - blurring - https://blurha.sh/ (and gatsby image and nextjs image) - Dimming/coloring text on background images https://coder-coder.com/background-image-opacity/ - [True Grit Texture Supply](https://www.truegrittexturesupply.com/) PNG textures (paid) - Remove backgrounds - this is [now native in iOS/macOS](https://news.ycombinator.com/item?id=36509175) - https://www.remove.bg/ from images - but has been monetized to shit. see below for better alternatives - https://github.com/imgly/background-removal-js open source Background Removal in the Browser - https://pixian.ai/remove-image-backgrounds - https://www.photoroom.com/background-remover - https://backgroundremoverai.com/ - source https://github.com/nadermx/backgroundremover - https://www.inpixio.com/remove-background/ - https://express.adobe.com/tools/remove-background - https://baseline.is/tools/background-remover/ from images - https://www.unscreen.com/ for gif/video - Remove ANYTHING (AMAZING) - https://cleanup.pictures/ - https://cleanupphotos.com/ - colorizing black and white images - https://demos.algorithmia.com/colorize-photos - relight images https://clipdrop.co/relight https://twitter.com/dh7net/status/1567813168990232578 - edit photo in browser no BS https://edit.photo/ - AI Colorizer https://palette.fm/ - https://animatedbackgrounds.me/ - Remove backgrounds and modify faces (for photos, videos and real time camera) - https://studio.banuba.net/, https://www.banuba.com/webar-sdk#webar-player (commercial SDK that adds teeth whitening, eye and hair color changer, and other face touch-up features). ## Icons and Favicons ### Favicons Don't forget them! - [How to Favicon in 2021](https://css-tricks.com/how-to-favicon-in-2021/) ```html ``` ```json // manifest.webmanifest { "icons": [ { "src": "/192.png", "type": "image/png", "sizes": "192x192" }, { "src": "/512.png", "type": "image/png", "sizes": "512x512" } ] } ``` - [the 6 favicon types you need](https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs) - 🌟 **[Favicon InBrowser.App](https://favicon.inbrowser.app)** - A modern pure-frontend favicon generator. Support SVG, maskable and dark mode. Optimize PNG and SVG outputs. - [Real Favicon generator](https://realfavicongenerator.net/) - pop in an image, get back a favicon! The most comprehensive one for all platforms (Windows, iOS, Android) - [Favicon.io](https://favicon.io/) - Generate a favicon from text, from an image, or from an emoji. Download in .ico and .png formats - [FontIcon](https://gauger.io/fonticon/) - Generate favicons and images from Font Awesome icons - [Favicon Generator](http://tools.dynamicdrive.com/favicon/) - another one - https://textmoji.app/ small text icons meant for Slack but also can use for faviconning - [SVG Favicon maker](https://formito.com/tools/favicon) - supports emojis and 2 letter favicons with custom fonts - SVG favicons are modifiable by scroll percentage - you can https://css-tricks.com/svg-favicons-and-all-the-fun-things-we-can-do-with-them/ - put the scroll percentage! https://css-tricks.com/how-i-put-the-scroll-percentage-in-the-browser-title-bar/ ### `` tags and opengraph Ideas of things you can include based on my own site. ```html {frontmatter.title} ∊ swyx.io {#if frontmatter.cover_image} {/if} ``` other boilerplates to use - https://css-tricks.com/explain-the-first-10-lines-of-twitter-source-code/ - https://github.com/joshbuchea/HEAD - https://www.matuzo.at/blog/html-boilerplate/ - maybe think about adding JSON+LD too. ### Icons #### Logos (incl company logos) - https://logosear.ch/ superfast metasearch of 200k svg logos from GitHub - https://svgl.vercel.app/ fast search of svg logos, user submitted and categorized - https://seeklogo.com/ - https://www.iconfinder.com/iconsets/payment-method-1 - https://www.logology.co/ We’ve designed a catalog of 500+ logos. Take a brand identity test and we’ll instantly match you with the best ones, paired with the right fonts & colors. - https://www.svgrepo.com/ Browse 300.000+ SVG Vectors and Icons - https://iconsear.ch/ instant search of 50k svg icons from GitHub and GitLab - https://macosicons.com/ icons intended to replace mac desktop icons - https://awsicons.dev/ AWS icons and https://aws-icons.com/ - https://az-icons.com/ Azure icons #### General & Misc **Important**: Note on [icon accessibility](https://css-tricks.com/accessible-svg-icons/). [Don't use icon fonts.](https://www.irigoyen.dev/blog/2021/02/17/stop-using-icon-fonts/) - Icon + text: use `` - Get a random meme image: `` - Get a random image from Unsplash: `` - Get a random CSS definition for base classes: `` - https://www.uifiller.com/ - Users - https://randomuser.me/ - https://jsonplaceholder.typicode.com/ - Relational Data - https://swapi.dev/ - theres a graphql swapi as well - https://pokeapi.co/api/v2/ - Misc - mock fake user events https://github.com/andresionek91/fake-web-events - https://openweathermap.org/guide - https://github.com/public-apis/public-apis - https://github.com/public-api-lists/public-api-lists - https://public-apis.io/ (A Directory of Free Public & Open Rest APIs) - https://github.com/Marak/faker.js - generate fake pdf https://aws.amazon.com/blogs/aws/new-for-aws-lambda-container-image-support/ - https://github.com/Rolstenhouse/unofficial-apis - https://devresourc.es/tools-and-utilities/public-apis - https://free-for.dev/#/?id=apis-data-and-ml ### Useful big datasets - Dataset collections - [Graphext collection](https://www.notion.so/cf3e33e64b6c4a71a014c134b6149b37?v=37e53f0e8a464293909206f499fdcc2e) 91 datasets - [Data.world](https://data.world/datasets/open-data) There are 133398 open data datasets available - https://www.data-is-plural.com/ dataset newsletter - https://upscale.wiki/wiki/Dataset_Database for training image upscalers - https://huggingface.co/datasets - https://datasets.quantumstat.com - https://paperswithcode.com/datasets - https://registry.opendata.aws - https://docs.microsoft.com/en-us/azure/azure-sql/public-data-sets - https://guides.library.cmu.edu/az.php Carnegie Mellon University listing of 750 databases, datasets, and research support tools. - Google datasets https://datasetsearch.research.google.com - Awesome Public Datasets https://github.com/awesomedata/awesome-public-datasets - Kaggle Datasets https://kaggle.com/datasets - The home of the U.S. Government’s open data https://data.gov - SQL demos - Northwind - Chinook: https://github.com/lerocha/chinook-database - Tech - [GitHub Activity data](https://console.cloud.google.com/marketplace/details/github/github-repos?pli=1&project=uplifted-earth-144603) ([blog](https://cloud.google.com/blog/topics/public-datasets/github-on-bigquery-analyze-all-the-open-source-code)) This 3TB+ dataset comprises the largest released source of GitHub activity to date. It contains a full snapshot of the content of more than 2.8 million open source GitHub repositories including more than 145 million unique commits, over 2 billion different file paths, and the contents of the latest revision for 163 million files, all of which are searchable with regular expressions. - [Los Alamos cybersecurity data](https://csr.lanl.gov/data/cyber1/) - This data set represents 58 consecutive days of de-identified event data collected from five sources within Los Alamos National Laboratory’s corporate, internal computer network. - The data sources include Windows-based authentication events from both individual computers and centralized Active Directory domain controller servers; process start and stop events from individual Windows computers; Domain Name Service (DNS) lookups as collected on internal DNS servers; network flow data as collected on at several key router locations; and a set of well-defined red teaming events that present bad behavior within the 58 days. In total, the data set is approximately 12 gigabytes compressed across the five data elements and presents 1,648,275,307 events in total for 12,425 users, 17,684 computers, and 62,974 processes. - Finance - [Numerai v4](https://numer.ai/data/v4) - 1191 features and targets for the entire history of the @numerai tournament. 2.4 million rows and 574 eras. One of the hardest tabular dataset competitions on the planet. - Text - [Enron email](https://www.kaggle.com/datasets/wcukierski/enron-email-dataset) ([source](https://www.cs.cmu.edu/~./enron/)): 500,000+ emails from 150 employees of the Enron Corporation ([podcast](https://99percentinvisible.org/episode/youve-got-enron-mail/)) - [ICIJ Offshore Leaks db](https://offshoreleaks.icij.org/) This ICIJ database contains information on more than 810,000 offshore entities that are part of the Pandora Papers, Paradise Papers, Bahamas Leaks, Panama Papers - Kaggle: https://www.kaggle.com/zusmani/paradisepanamapapers - [GDELT Project](https://www.gdeltproject.org/) "monitors the world's broadcast, print, and web news from nearly every corner of every country in over 100 languages and identifies the people, locations, organizations, themes, sources, emotions, counts, quotes, images and events driving our global society every second of every day, creating a free open platform for computing on the entire world." - [Hex's Horoscope](https://www.izzy.co/blogs/horoscope-aug.html) Welcome to the inaugural Hex Horoscope, a new monthly series in which I attempt to divine the general trend of the month to come using Hex. We'll start with a visual look at how the first week of August stacks up to the competition, and then do some actual predictive modeling to take a stab at what the rest of the month has in store. - Geo - [BigQuery global daily weather data](https://cloud.google.com/blog/products/gcp/global-historical-daily-weather-data-now-available-in-bigquery) Using the BQ geo functions to overlay weather with key locations we cared about was a lot of fun. [michael](https://twitter.com/gwenwindflower/status/1536132127678423046) - List of Famous/Notable people by Geo ([241mb](https://data.sciencespo.fr/dataset.xhtml?persistentId=doi:10.21410/7E4/RDAG3O)) - [writeups](https://medialab.github.io/bhht-datascape/), [globe viz](https://tjukanovt.github.io/notable-people) - [SF Tree dataset](https://data.sfgov.org/City-Infrastructure/Street-Tree-List/tkzw-k3nq) Every tree in San Francisco (that are managed by the department of public works, so this excludes trees in places like Golden Gate Park): 196,000 trees listed and they update it constantly! [simonw](https://twitter.com/simonw/status/1536366226326228993?s=20&t=W8ioFSergYaZcLGjTxOGbQ) - [NYC taxi dataset](https://www1.nyc.gov/site/tlc/about/tlc-trip-record-data.page) Yellow and green taxi trip records include fields capturing pick-up and drop-off dates/times, pick-up and drop-off locations, trip distances, itemized fares, rate types, payment types, and driver-reported passenger counts. - Good for teaching: scalable sizes, moderate amounts of bad data - ([spark + iceberg quickstart](https://github.com/tabular-io/docker-spark-iceberg) - [blog](https://tabular.io/blog/docker-spark-and-iceberg/)) - [Auckland Transport data](https://dev-portal.at.govt.nz/) - [Airbnb data on NY, London, SF, Paris, barcelona, Amsterdam](http://insideairbnb.com/) - [GeoNet earthquake catalog](https://www.geonet.org.nz/data/types/eq_catalogue) - New Zealand - LINZ data service https://data.linz.govt.nz/data.world. - Misc? - [Correlates of War datasets](https://correlatesofwar.org/) - [r/dadjokes dataset](https://huggingface.co/datasets/shuttie/dadjokes) https://dadjokes.dfdx.me/ - [Flight delays](https://data-se.netlify.app/2021/02/24/case-study-data-vizualization-on-flight-delays-using-tidyverse-tools/) - [Disney world wait times](https://lucymcgowan.github.io/touringplans/) - [Trashnet](https://github.com/garythung/trashnet): Code (only for the convolutional neural network) and dataset for mine and Mindy Yang's final project for Stanford's CS 229: Machine Learning class. The dataset spans six classes: glass, paper, cardboard, plastic, metal, and trash. Currently, the dataset consists of 2527 images. The pictures were taken by placing the object on a white posterboard and using sunlight and/or room lighting. The pictures have been resized down to 512 x 384, which can be changed in data/constants.py (resizing them involves going through step 1 in usage). The devices used were Apple iPhone 7 Plus, Apple iPhone 5S, and Apple iPhone SE. - [NFL play by play data](https://www.nflfastr.com/) The package contains NFL play-by-play data back to 1999. Includes completion probability (cp), completion percentage over expected (cpoe), and expected yards after the catch (xyac_epa and xyac_mean_yardage) in play-by-play going back to 2006. Includes drive information, including drive starting position and drive result. Includes series information, including series number and series success. Features models for Expected Points, Win Probability, Completion Probability, and Yards After the Catch ### Copy and Emails - https://www.goodemailcopy.com/ - https://www.swipefiles.co/ ### UI Design Challenges and Copywork - https://fakeclients.com/ui - https://uxtools.co/challenges/ - https://www.frontendpractice.com/ - https://www.codewell.cc/ - https://cssbattle.dev/ ### Other Lists like this one - https://www.getstark.co/library/ - https://webflow.com/accessibility/checklist - https://www.getstark.co/library/ - https://10015.io/ - https://www.fetoolkit.io/ - https://github.com/bradtraversy/design-resources-for-developers - https://tiny-helpers.dev/ - https://www.uigoodies.com/ - https://www.uplabs.com/ - https://github.com/neutraltone/awesome-stock-resources - https://nodesign.dev/ - https://github.com/goabstract/Awesome-Design-Tools / https://github.com/LisaDziuba/Awesome-Design-Tools - https://github.com/emmabostian/design-inspiration - https://undesign.learn.uno/ - https://user-interface.io/ - https://dev.to/theme_selection/best-design-resources-websites-every-developer-should-bookmark-1p5d - https://dev.to/joserfelix/40-high-quality-free-resources-for-web-development-10o3 ### Helpful podcasts/talks/articles - [UI Density in Time and Space](https://news.ycombinator.com/item?id=40428386) - high information density UIs https://news.ycombinator.com/item?id=43925732 incl mcmaster carr - [How do I learn design?](https://www.codenewbie.org/podcast/how-do-i-learn-design) (CodeNewbie) - [Design foundations for developers](https://syntax.fm/show/196/design-foundations-for-developers) (Syntax) - [Design tips for developers](https://syntax.fm/show/068/design-tips-for-developers) (Syntax) - [Tactical design advice for developers](https://changelog.com/podcast/333) (The Changelog) - [UI Design for Developers](https://designcode.io/ui-design-for-developers) (Meng To) - [Learning How to Design](https://shoptalkshow.com/343/) (ShopTalk) - [You can create a great looking website while sucking at design](https://thefullstackdev.net/resource/create-beautiful-website-while-sucking-at-design/) - [Laws of UX](https://lawsofux.com/) - [100 Things I Know About Design](https://odannyboy.medium.com/100-things-i-know-about-design-8e50f7b1818b) - [The self taught UI/UX designer roadmap](https://bootcamp.uxdesign.cc/the-self-taught-ui-ux-designer-roadmap-in-2021-aa0f5b62cecb) - https://learnui.design/blog/4-rules-intuitive-ux.html - Obey the Law of Locality - Anything But Dropdowns - Pass the Squint Test - Teach By Example - https://littlebigdetails.com/ - web interface handbook https://imperavi.com/books/web-interface-handbook/ - [Design Principles](https://principles.design/) - [7 Gestalt Principles of Design](https://ux360.design/gestalt-principles-design) - [Visual design rules you can safely follow](https://anthonyhobday.com/sideprojects/saferules/) - Use near-black and near-white instead of pure black and white - Saturate your neutrals - Use high contrast for important elements - Everything in your design should be deliberate - Optical alignment is often better than mathematical alignment - Lower letter spacing and line height with larger text. Raise them with smaller text - Container borders should contrast with both the container and the background - Everything should be aligned with something else - Colours in a palette should have distinct brightness values - If you saturate your neutrals you should use warm or cool colours, not both - Measurements should be mathematically related - Elements should go in order of visual weight - If you use a horizontal grid, use 12 columns - Spacing should go between points of high contrast - Closer elements should be lighter - Make drop shadow blur values double their distance values - Put simple on complex or complex on simple - Keep container colours within brightness limits - Make outer padding the same or more than inner padding - Keep body text at 16px or above - Use a line length around 70 characters - Make horizontal padding twice the vertical padding in buttons - Use two typefaces at most - Nest corners properly - Don’t put two hard divides next to each other - https://twitter.com/mrcndrw/status/1283078825870532609 - https://internetdevels.com/blog/the-10-commandments-of-user-interface-design ([infographic](https://www.designmantic.com/blog/infographics/the-10-commandments-of-ui-design/)) - 3 most common mistakes of UI design by [MDS](https://robhope.com/yo-mds) - too many font sizes used. Try to use 1-2 sizes and vary other things like weight, negative space, color, casing. - don't over rely on strict mathematical spacing - use optical alignment instead - make judgments based on the needs of the layout. - consistent color usage. Tappable = one color. dont make titles and buttons same color. mind accessibility. - [Simple Layout checklist](https://docs.google.com/file/d/0B0gPtgNVonXPT1NsWGpKZWZKV1U/edit) - [ ] Clear idea of purpose, target audience, where/how long it will be seen - [ ] Information hierarchy (vary size, contrast, position) - [ ] Clear visual structure - pick the most suitable way to group elements - [ ] Space - leave enough whitespace. Too much > too little - [ ] Alignment - use as few lines as possible - [Human Interface Guidelines from Apple, Microsoft, Elementary OS, IBM, etc](http://www.geofcrowl.com/blog/articles/2020/2/17/collection-higs/) - Apple's HIG was updated for 2022 https://developer.apple.com/design/human-interface-guidelines/guidelines/overview/ - Apple Spatial Computing Design videos: - https://developer.apple.com/videos/play/wwdc2023/10072/ - https://developer.apple.com/videos/play/wwdc2023/10076/ - https://developer.apple.com/videos/play/wwdc2023/10073/ - 50 UI tips https://fifty.user-interface.io/ - https://fifty.user-interface.io/50_ui_tips.pdf - Steve Schoger - Refactoring UI process: https://www.youtube.com/watch?v=7Z9rrryIOC4 1. Give text consistent contrast 2. Don't use grey text on colored backgrounds 3. Use perceived brightness 4. Start with too much whitespace 5. Balance weight and contrast 6. Supercharge the defaults 7. Overlap elements to create depth 8. Use shadows to convey elevation 9. Shadows have two parts 10. Create depth with color 11. Use fewer borders 12. Think outside the database 13. Alternate Backgrounds 14. Grays dont have to be GRAY. 15. Use good fonts! - Steve Schoger - [little details of visual ui design](https://twitter.com/swyx/status/1206234577821286406?s=20) - [ ] add a bit of color to your greys - [ ] saturate greys when using a colored background - [ ] consider temp when saturating greys - [ ] use a consistent corner radius - [ ] use consistent icon set - [ ] use font size to emphasize impt info - [ ] use color to create a hierarchy - [ ] use consistent spacing scale - [ ] use color to draw attention - [ ] offset box-shadows - [ ] easy on the link styles - [ ] use contrast to create balance - [ ] pick an appropriate line height - [ ] use alignment to clean up your design - [ ] give actions hierarchy - [ ] consider spacing instead of borders - [ ] use color to create depth and hierarchy - [ ] use good fonts - [Buffer Design tips](https://buffer.com/library/social-media-design-tips) - [ ] Color: emotion, personality - [ ] Balance: symmetry, asymmetry - [ ] Lines: straight lines for harmony, curved for movement. guide the eyes - [ ] Typography: 3 max, san-serif for web, kerning for headlines - [ ] Add Contrast with shapes, color, element sizes - [ ] Scale: size elemnts differently to draw attention or demonstrate concept - [ ] Proximity: group related items together. connect colors, fonts, shapes - [ ] Hierarchy: most impt elements first - [ ] Repetition: consistency of fonts, colors, logos - [ ] Direction: F, E, Z pattern. Put key info in left - [ ] Space: use space to amplify other objects - Matt D Smith Checklist ([Notion](https://www.notion.so/UI-Checklist-d47ae9676a004a9b9d942a7908ac9efd)) - [ ] Do I have a very solid understanding of the _human_ problem I'm solving with this interface? - [ ] Is this a low, medium, or high complexity project and have I let that drive my decision for designing a low-fidelity version or not? - [ ] If I'm using reference material, would I feel comfortable putting my design next to the reference and talking through the areas I used for inspiration, without giving the impression that I copied or created a very close derivative? - [ ] Have I had the necessary conversations with stakeholders and/or developers about the goal of this project and its ability to be implemented. In other words, am I aware of business and/or technological constraints? - Typography - [ ] Have I chosen font sizes very deliberately (_ideally 2-4 per screen or section)_ and pushed myself to use as few as possible? - [ ] Am I sure there's not a single straggling font size lying around somewhere that could be matched up with another size? - [ ] Are there any areas where font **weight** would be a better change instead of font size? - [ ] Are there any areas where font case—whether UPPERCASE, Title Case, or Sentence case—would be more affective that a font size change? - [ ] Does the visual hierarchy of my typography content match my intentions with what is the most important on the screen? - [ ] Do my titles and body copy _feel_ right together? Am I playing with type scale in a fun and dynamic way? - [ ] Have I defined the usage of certain sizes and/or colors for my typography, whether in my own head or specifically written documentation? - [ ] Are my typographic color choices extrememly well defined, a specific color for links, actions, buttons versus read-only text, and is there anywhere that can be improved? - [ ] If applicable, are there any areas where I could add more visual interest to my typography by adding any decorative or informational elements in the surrouding area? - [ ] Have I intentionally chosen a specific typeface for specific reasons? - [ ] If I haven't used sytem or open source fonts (SF Pro, Roboto, Inter, Helvetica, etc.) have I done due dilligence on purchasing the appropriate font licensing and/or checked with stakeholders or developers if the font I've chosen is approved and/or can be used during development? - [ ] Does the typeface I've chosen convey the right personality or feeling that I want to convey? - [ ] Have I considered adding the ability for a user to choose their own type size based on their preference, and if not have a made sure that the most important content is no smaller than 16px? - Layout - [ ] Have I used the box model concept while laying out out every element of my designs, or are there a few stragglers here and there that I haven't been intentional about? - [ ] Have I used a clear grid structure with properly aligned elements that visually balance each other out? (12 column, etc.) - [ ] Have I used an intentional implicit grid for all of the negative space surrounding the elements in my layout, especially to define intentional relationships with my content? - [ ] Does my design have enough negative space? - [ ] Are there elements in my design where the negative space could double to create a much nicer layout? - [ ] Does anything feel too crammed or too tight and have I considered layering the information where necessary to create more simplicity? - [ ] Is all of the text left or right aligned and scannable where applicable? - [ ] Does my eye have to dart around all over the screen to view the content or is there a nice line of continuation I can pay attention to while viewing? - [ ] Are my interface elements balanced compositionally with layout anchors? - [ ] Are there any areas where my designs have been mathematically aligned, but still feel off? Have I correct these with optical alignment? - [ ] Is the density of my design appropriate? Is it tight and condensed because of the high volume of information? Is it a medium density? Are there ways to add more negative space to have a more open and friendly feel with a lower density layout? - [ ] Are there any areas where I could create more intentional prioritization of content by using scale or visual weight with background color changes, etc.? - [ ] Is there appropriate affordance given to the interactive objects on the screen? Is it easy to see what's scrollable, swipeable, tappable, etc.? Are there areas where I know that it could be made more clear? - [ ] Have I fully considered exandable/collapseable or other interactive options for some of the components? Does everything on the screen need to be on the screen or is there a more elegant solution for the content that involves adding another page or another section? - Color - [ ] Have a made a conscious choice between using HEX codes, RGB values, or HSB/HSL section methods? - [ ] Have I double checked to make sure that all of my interface elements have appropriate color contrast and meet at least WCAG 2.1 AA accessibility standards? - [ ] Have I made a very conscious decision about my structural colors versus my interactive colors? - [ ] Have I clearly defined a primary, secondary, and possibly tertiary CTA (call to action) color and used it accordingly? - [ ] Could my secondary styles and colors be tweaked slightly to better compliment the primary CTA? - [ ] Have I very strategically defined all of my color usages to create an understandable framework for future color usage? Is there room for improvement? - [ ] Does my color palette follow a systematic and intentional method for color selection based on a base HUE? - [ ] Is there room to provide a secondary HUE for structural or interactive colors or is the one I've chosen adequate? - [ ] Is there any opportunity for using a well-placed gradient? If I'm using a gradient have I double checked that any text used in combination with it is accessible? - [ ] Have I specifically chosen a very strict set of greys, if applicable, for my entire project across every screen? - [ ] Are there any greys that are very close in color that could be combined and simplified? - [ ] Have I revised and/or adjusted my overall color palette to include all colors and usages of those colors for every single element? - [ ] Have I considered the Z-axis of my layout and how white, grey, and darker colors create a natural depth? Are the objects closest to my foreground the lightest in color? - [ ] If my UI is dark in color, have I been extremely conscious with the overall contrast and meticulously chosen each color? - [ ] If my UI is dark in color, have I reserved absolute white and absolute black for specific pieces of the interface? Is there any room for almost black or almost white, with subtle changes in color? - Style - [ ] Have I consciously decided on a specific design direction? - [ ] Can I intentionally describe my designs with specific adjectives? - [ ] Have I considered the constraints of the medium I'm designing for and how that should and will affect my designs? - [ ] Have I very consciously chosen specific corner radius styles? Should they be hard edge, slightly rounded, very rounded, pill-shaped? - [ ] If I have chosen specific corner radius styles for modules, buttons, etc. have I explored other options to see if there are better alternatives that specifically map to the type of style I'm trying to achieve? - [ ] Have I very specifically chosen a certain type of border or divider for my content? - [ ] Have I considered using only negative space to create a separation of content rather than relying on a line or separate modules? - [ ] Have I made sure my borders or dividers don't overpower the actual content? Could they be toned down to shift focus on the most important areas of the designs? - [ ] Have I considered depth, lighting, and shadow to the best of its potential? If I'm using any type of depth as a metaphor, are my darkest elements going back into the design and my brightest elements coming forward intentionally? - [ ] Have I strongly considered how my buttons are interacted with? Hover states, tapped states, etc. Are there any fun animations that I could add to double-down on the direction I'm trying to achieve? - [ ] Are my buttons working as hard as they should be to create laser-like focus on the most important actions on the screen when applicable? - Imagery - [ ] Knowing that great imagery will make my designs 10X better than subpar imagery, have I intentionally chosen, selected, sourced, or created the absolute best possible imagery for my designs (if applicable)? - [ ] Does the imagery I'm using make my designs better or is it distracting? - [ ] Am I intentionally using a static image in my designs that will never be changed, or is there an opportunity to create something more dynamic based on events or user action? - [ ] Are there places in my design where I can leverage emoji (like on these checklist titles) to create a more unique design? - [ ] Am I using a rasterized bitmap image when I could be using CSS or an SVG in place of it? - [ ] If I'm using dynamic imagery in my designs, have I stress tested for all black or all white images to make sure the design still works? - [ ] If my designs contain user-generated content, have I carefully considered empty states, the ability to change the imagery, the ability to create and/or upload the imagery? - [ ] Are there smart defaults that look nice when no user generate content has been added? - [ ] Am I using any imagery that is only "so-so" and not adding great value to the design? - [ ] Have I paid special attention to any icons used in my project? - [ ] Are my icons following a strong pattern of size, color, stroke, fill, etc.? - [ ] Are my icons decorating or interactive and have I made that extremely clear with the designs? - [ ] Are there any opportunities to create a simple custom illustration (line, shape, pattern, etc.) to add more visual interest to the design? - [ ] Have I considered how the products marketing site or branding should or will impact the interface? - [ ] Is there an app store icon that needs to be designed? Are there opportunies to create a fun branded experience between the app icon, the loading screen, and the default view of the first time a user launches the app? - [ ] If I'm designing a website have I designed a custom favicon that shows up in the browser tab as an extra little detail for my project? - Elements - [ ] Does my project have a clear navigation structure and ideally prioritize the top 5 or fewer links or sections? - [ ] Have I strongly considered how my input fields function (default, hover, focused, disabled, error, etc.) and created a very clear state design for all possibilities? - [ ] Do my input fields match the overall style and direction of the project? - [ ] Are the forms I've designed absolutey necessary and require the most critical information? - [ ] Have I very clearly communicated the reasons for requiring certain information? - [ ] If applicable, have I made it clear that certain pieces of information are required for the progress of the user through the app or site? - [ ] Have I considered all the variables and/or error states if some information is not gathered properly? - [ ] If my project has user profiles, have I considered what it will look like the first time it's used, after information has been added? Are the mechanisms for editing information abundantly clear or is there room for improvement? - [ ] Have I carefully considered the implications of a settings screen? - [ ] Have I done the hardwork of creating smart defaults for the user and not used the settings screen as a dumping ground for all possible changes? - [ ] Have I carefully chosen lists and/or card-based layouts in my designs based on the volume of information? - [ ] Are the any missing components to my designs that might not be needed now, but could be very useful in the future, eg. table designs, etc.? - [ ] Have I considered the states and function of all of my components and created a well-organized file system? - [ ] Is there a need to turn my clean and organized file-system into an actual design system to be used for other projects? - [ ] Are there more people on my team (stakeholders, developers, etc.) who need visibility into the choices I'm making for naming components, etc. and should they have an opinion or a say into what things are called as well? - Tactics - [ ] Have I explored LOTS of alternative versions of what I'm trying to design and by process of elimination decided on what works best? - [ ] If my project is slightly more complex than the average project, whether because of features or team size, have I spent enough time getting everyone on board with how the app should function by using low-fidelity designs? - [ ] If my project is a web-based project, have I fully considered the mobile version and used that as a way to force prioritization of features and layout? - [ ] If my project is an application, have a used a mobile-first approach to create simplicity up front? - [ ] If my project is more of a marketing site, have I designed and explored really nice and impactful desktop versions before confining myself too much with mobile versions? - [ ] If my project is an iOS app, have I made intentional decisions about where to follow the Apple HIG (human interface guidelines) or where to deviate from it? If I've deviated, do I have a VERY good reason to do so and are the stakeholders and developers OK with this? - [ ] If my project is an Android app, have I made the decision to exclusively use a material design system, or do I have strong reasons for not doing that? - [ ] Have I used very intentional placeholder copy and/or images in my designs that could support specific users, etc.? - [ ] Have I told a story with my designs (based on features) and could I effectively present my designs using what I've created? - [ ] Are my designs organized in a clear way to showcase specific features and flows? - [ ] Have I created the necessary prototypes to experiment with animations and interactions? - [ ] Do I need to create any separate prototype flows to describe certain functionality to stakeholders or developers? - [ ] Have a been an excellent communicator from the very beginning of the project and now that's it's time to hand off the design, I already know what my developer needs? - [UI Common Mistakes Checklist](https://twitter.com/vponamariov/status/1421014957110579203) 1. Poor contrast 2. Many primary buttons 3. Small clickable area 4. Poor paddings 5. Icon inconsistency 6. Text hard to read/scan 7. Wrong alignment 8. Not enough whitespace 9. Poor validation 10. Proximity violation 11. Long text lines 12. Redundant texts 13. Poor quality of screenshots 14. Small font-size 15. Taking full width when it's not necessary 16. No hovering state 17. Poor shadows 18. Layout shifts - Simple design: https://www.anthonyhobday.com/simpledesign/ (rec by [Hey designer](https://twitter.com/jonasdowney/status/1280620028774305792/photo/1)) - [Refactoring UI](https://refactoringui.com/) - Starting from Scratch - Choose a personality - Don't design too much - Detail comes later - Hierarchy - Size isn't everything - Emphasize by de-emphasizing - Layout and Spacing - Establish a spacing/sizing system - Designing Text - Keep your line length in check - Working with Color - Ditch hex for HSL - note: HSL has palette issues https://wildbit.com/blog/accessible-palette-stop-using-hsl-for-color-systems - Creating Depth - (to be continued) - Emulate a light source - (to be continued) - Working with Images - (to be continued) - Finishing Touches - (to be continued) - [Tracy Osborn Checklist](https://www.youtube.com/watch?v=uKpfO331DY4&list=WL&index=4) - Reduce Clutter - use ColourLovers for color palettes - Fonts - max 2. Use fancy fonts sparingly - more whitespace - break up walls of text with bullet points - big clear CTA buttons - Headlines: talk benefits not details. short. - [Design Details: Principles of Design](https://designdetails.fm/episodes/220880) - Design Details' most downloaded episode of all time! - [7 Rules for Creating Gorgeous UI](https://learnui.design/blog/7-rules-for-creating-gorgeous-ui-part-1.html) - Light comes from the sky - Black and white first - Double your whitespace - Learn the methods of overlaying text on images - Make text pop — and un-pop - Use only good fonts - Steal like an artist - [How to design great keyboard shortcuts](https://knock.app/blog/how-to-design-great-keyboard-shortcuts) ### More Free Stuff - [Canva Design School](https://designschool.canva.com/) - [Degreeless.design](https://www.degreeless.design/#basics) - Free tier software https://free-for.dev/#/ - https://github.com/Vincenius/link-list - Demo HTML - https://github.com/cristurm/nyan-cat - https://github.com/netlify/netlify-drop-demo-site/archive/master.zip - [The Design Newsletter](https://learnui.design/newsletter.html) ### Paid Design Services of Note - Design Pickle - Manypixels - Contentfly (copywriting) ### Courses - for the 4 minute version (free): https://jgthms.com/web-design-in-4-minutes/ - you can do the opposite (pick out differences) with https://cantunsee.space/ - for the 4 hour version: https://frontendmasters.com/courses/design-for-developers/ - for the 4 week version: https://refactoringui.com/book - for the 4 month version: https://learnui.design/ 995/1495/2495. 48 lessons, 26 hours - weekly lessons drip fed over email https://hackdesign.org/ - i may be signing up for https://shiftnudge.com/ .. its $1800 though - upcoming design for devs book from adrian twarog https://www.enhanceui.com/ - meng to https://designcode.io/ui-design-for-developers - the non-designer's design book https://www.amazon.co.uk/Non-Designers-Design-Book-Robin-Williams/dp/0133966151 - Copywork - https://www.frontendpractice.com/ - https://www.codewell.cc/