Home/Smashing Magazine
Source

Smashing Magazine

1,379 articles from Smashing Magazine.

Design & UX — Free Christmas Icon Sets And Vector Elements — Smashing Magazine

Free Christmas Icon Sets And Vector Elements — Smashing Magazine

Everybody loves a nice freebie, right? To get you in the mood for the upcoming holidays, we collected some winter- and holiday-themed icon sets and vector elements that you can use in your projects for free. All icons and design elements in this collection can be downloaded for free. And, psst, they are perfect if you’re in need for some last-minute Christmas cards, gift tags, or wrapping paper, t

CMCosima MielkeCosima Mielke·December 9, 2021Design & UX
Design & UX — Designing Better Links For The Web — Smashing Magazine

Designing Better Links For The Web — Smashing Magazine

There are so many websites out there that have not considered the overall usability of their visually impaired users. When it comes to designing better links and sending better emails, Slava Shestopalov has a few tips on how to improve your website’s experience while accessibility in mind.

SSSlava ShestopalovSlava Shestopalov·December 6, 2021Design & UX
AI & ML — Advent Calendars For Web Designers And Developers (December 2021 Edition) — Smashing Magazine

Advent Calendars For Web Designers And Developers (December 2021 Edition) — Smashing Magazine

Are you ready for the countdown to Christmas? From [festive](https://www.smashingmagazine.com/2016/12/freebie-christmas-advent-icon-set-25-icons-ai-eps-svg-png-pdf/) [icon](https://www.smashingmagazine.com/2015/12/freebie-christmas-icons-illustrations/) [sets](https://www.smashingmagazine.com/2014/11/freebie-christmas-icon-set-ai-psd-eps-pdf-svg-png/) to advent calendars that are bound to sweeten

ILIris LjesnjaninIris Ljesnjanin·December 2, 2021AI & ML
Frontend — How To Protect Your API Key In Production With Next.js API Route — Smashing Magazine

How To Protect Your API Key In Production With Next.js API Route — Smashing Magazine

There’s a great challenge that comes with building Jamstack applications on the web. In this article, Caleb Olojo will be using Next.js to bootstrap your app. This does not mean that the [create-react-app](https://create-react-app.dev/) library will not work. You can make use of any one that you find convenient. You’re using Next.js because of the many perks that come with it.

COCaleb OlojoCaleb Olojo·December 2, 2021Frontend
Frontend — 3D CSS Flippy Snaps With React And GreenSock — Smashing Magazine

3D CSS Flippy Snaps With React And GreenSock — Smashing Magazine

One of Jhey’s main mantras is to make learning fun. In this article, he shows you ways to level up your skills by bringing your ideas to life, and not forgetting that you can be playful with code. With that mindset, every idea is bound to become an opportunity to try something new. It’s fun to make things that we may not create on a day-to-day basis. Demos like this can pose different challenges a

JTJhey TompkinsJhey Tompkins·November 29, 2021Frontend
Frontend — How To Maintain A Large Next.js Application — Smashing Magazine

How To Maintain A Large Next.js Application — Smashing Magazine

There are a few ways in which you can make a large code-base easy to maintain. In this article, Nirmalya discusses some of the complex problems that he faced while building and maintaining large Next.js applications. He always explains how these problems can be solved by using various tools. Most of these points will apply to any front-end application. For any front-end application, the main prior

NGNirmalya GhoshNirmalya Ghosh·November 26, 2021Frontend
Engineering — A Showcase Of Lovely Little Websites — Smashing Magazine

A Showcase Of Lovely Little Websites — Smashing Magazine

Instead of spending your coffee break scrolling through your social feeds, how about a lovely little website instead? We came across some fantastic ones that are just too good not to be shared. They are perfect for a short coffee break or whenever you’re up for a little bit of diversion. But be warned, your break might take a bit longer than intended.

CMCosima MielkeCosima Mielke·November 24, 2021Engineering
Frontend — Adding A Dyslexia-Friendly Mode To A Website — Smashing Magazine

Adding A Dyslexia-Friendly Mode To A Website — Smashing Magazine

The separation of content and presentation that CSS gives us always comes in handy when we need to adapt designs to better serve different communities. With a little CSS, we can adapt our web designs to be more accommodating for people with dyslexia. In this article, John C Barstow will explore those techniques by adding a dyslexia-friendly mode to an existing design.

JBJohn BarstowJohn Barstow·November 23, 2021Frontend
Frontend — Smashing Workshops: Winter 2021 — Smashing Magazine

Smashing Workshops: Winter 2021 — Smashing Magazine

What’s the state of CSS, Vue.js and Next.js? What are new, smart interface design patterns we could use? Let’s figure it out. With our [online workshops on UX, front-end and design](https://smashingconf.com/online-workshops).

ILIris LjesnjaninIris Ljesnjanin·November 22, 2021Frontend
Performance — Improving The Performance Of Wix Websites (Case Study) — Smashing Magazine

Improving The Performance Of Wix Websites (Case Study) — Smashing Magazine

Implementing a performance culture at Wix can enable you to apply performance enhancements to almost every part of your technological stack — from infrastructure to software architecture and media formats. In this article, Dan Shappir shares which actions and processes the Wix team put in place in order to achieve dramatic improvements in the performance of websites built and hosted on their platf

DSDan ShappirDan Shappir·November 22, 2021Performance
Frontend — Next.js Wildcard Subdomains — Smashing Magazine

Next.js Wildcard Subdomains — Smashing Magazine

Wildcard domains often go under the radar. Hosting with a wildcard subdomain enables your users to visit your site on any subdomain of your domain (*.example.com), and as you can imagine, we can use this to create unique user experiences which we’ll be exploring in this article through a Next.js lens.

SPSam PoderSam Poder·November 19, 2021Frontend
Frontend — A Guide To Modern CSS Colors With RGB, HSL, HWB, LAB And LCH — Smashing Magazine

A Guide To Modern CSS Colors With RGB, HSL, HWB, LAB And LCH — Smashing Magazine

Did you know that your chosen color palette can have an impact on how much energy your website uses? Even a more environmentally friendly choice of colors can reduce the impact on the battery life of mobile devices. In this article, Michelle Barker shares advice on the not-so-obvious things you have to keep in mind when handling colors in CSS today.

MBMichelle BarkerMichelle Barker·November 17, 2021Frontend
Frontend — Useful React Hooks That You Can Use In Your Projects — Smashing Magazine

Useful React Hooks That You Can Use In Your Projects — Smashing Magazine

React class-based components are messy, confusing, hard for humans and machines. But before React 16.8, class-based components were mandatory for any projects that require states, life-cycle methods, and many other important functionalities. All these changed with the introduction of hooks in React 16.8. Hooks are game-changers. They have simplified React, made it neater, easier to write and debug

IDIfeanyi DikeIfeanyi Dike·November 12, 2021Frontend
Design & UX — From Good To Great In Dashboard Design: Research, Decluttering And Data Viz — Smashing Magazine

From Good To Great In Dashboard Design: Research, Decluttering And Data Viz — Smashing Magazine

Dribbbleshots just might be the hotbed of questionable dashboards. Striking visuals, little context, and no research: all recipes for mediocrity. Mediocrity won’t do. We’ll pursue greatness. And in that pursuit, we’ll cover research, decluttering, and data visualization. In this article, Adam Fard will talk about research, decluttering, and data visualization, as well as how these things can make

AFAdam FardAdam Fard·November 11, 2021Design & UX
Frontend — Localizing Your Next.js App — Smashing Magazine

Localizing Your Next.js App — Smashing Magazine

Internationalized routing is not exactly a new feature on Next.js. (It has been out since [v.10](https://nextjs.org/blog/next-10).) In this article, we are not only checking what we get from this feature, but also how to leverage such functionalities to achieve the best user experience and a smooth developer experience as well. Keep reading if you enjoy self-documented code, lean bundle-sizes and

AFAtila FassinaAtila Fassina·November 9, 2021Frontend
Performance — Meet Hydrogen: A React Framework For Dynamic, Contextual And Personalized E-Commerce — Smashing Magazine

Meet Hydrogen: A React Framework For Dynamic, Contextual And Personalized E-Commerce — Smashing Magazine

A great commerce experience cannot be distilled to a single number. It’s not a Lighthouse score, or a set of Core Web Vitals figures, although both are important inputs. A great commerce experience is a trilemma that carefully balances competing needs of delivering a great customer experience, dynamic storefront capabilities, and long-term business — conversion, retention, re-engagement — objectiv

IGIlya GrigorikIlya Grigorik·November 8, 2021Performance
Design & UX — The Value Of Concept Testing As Part Of Product Design — Smashing Magazine

The Value Of Concept Testing As Part Of Product Design — Smashing Magazine

Concept testing is a blend of market and UX research, two disciplines that share many methods in common. You shouldn’t consider it anti-UX to also explore topics related to market acceptance. After all, what good is a usable product if it serves no purpose or doesn’t have any meaningful sized market willing to adopt it? Concept testing ideas before moving into a detailed design is good UX practice

VVictoryoccoVictoryocco·November 5, 2021Design & UX
Frontend — GraphQL On The Front-End (React And Apollo) — Smashing Magazine

GraphQL On The Front-End (React And Apollo) — Smashing Magazine

Within the last decade, technologies like GraphQL have changed how we build web apps and how they communicate with each other. GraphQL provides certain benefits over REST APIs — let’s find out what they are. In this article, David Atanda will cover advanced topics to achieve real-time update of data using the update() function, subscription, and Optimistic UI. All in a bit to improve user experien

DADavid AtandaDavid Atanda·November 4, 2021Frontend
Frontend — A Deep Dive Into Serverless UI With TypeScript — Smashing Magazine

A Deep Dive Into Serverless UI With TypeScript — Smashing Magazine

Serverless UI is simply a free, open-source command-line utility for quickly building and deploying serverless applications on the AWS platform. In this article, we will learn and cover everything needed on using Serverless UI to deploy our projects or serverless applications to cloud services providers.

IAIkeh AkinyemiIkeh Akinyemi·November 3, 2021Frontend
Engineering — How To Build An Amazon Product Scraper With Node.js — Smashing Magazine

How To Build An Amazon Product Scraper With Node.js — Smashing Magazine

The wealth of data that Amazon holds can make a huge difference when you’re designing a product or hunting for a bargain. But, how can a developer get that data? Simple, by using a web scraper. Why would someone want to scrape Amazon pages? You’re about to find out! Here’s how to build your data extraction bot with Node.js.

RSRobert SfichiRobert Sfichi·October 28, 2021Engineering
Design & UX — Eye-Tracking In Mobile UX Research — Smashing Magazine

Eye-Tracking In Mobile UX Research — Smashing Magazine

Eye-tracking, a method that measures where people are looking and for how long they are looking, became more accessible to UX research thanks to technology. It allows researchers to see through the users’ eyes and get insights about visual attention. This article explores the latest trends in the eye-tracking market and how the methodology can be included in the UX researcher’s toolbox.

MMMariana MacedoMariana Macedo·October 27, 2021Design & UX
Frontend — Optimizing Next.js Applications With Nx — Smashing Magazine

Optimizing Next.js Applications With Nx — Smashing Magazine

Nx is a build framework that facilitates optimization, efficient scaling of applications, and other features such as shared libraries and components. In this article, Melvin Kosisochukwu will be looking at how you can effectively scale Next.js applications by using Nx. If you’re a developer looking to optimize applications and create reuseable components across applications, this article is for yo

MKMelvin KosisochukwuMelvin Kosisochukwu·October 26, 2021Frontend
Frontend — A Deep Dive Into object-fit And background-size In CSS — Smashing Magazine

A Deep Dive Into object-fit And background-size In CSS — Smashing Magazine

If we use a width and height that isn’t proportional to the image’s aspect ratio, the image might either be compressed or stretched. That isn’t good, and it can be solved either with object-fit for an img element or by using background-size. In this article, Ahmad Shadeed will go through how `object-fit` and `background-size` work, when you can use them, and why, along with some practical use case

ASAhmad ShadeedAhmad Shadeed·October 25, 2021Frontend
Engineering — How To Build A Real-Time Multi-User Game From Scratch — Smashing Magazine

How To Build A Real-Time Multi-User Game From Scratch — Smashing Magazine

It’s impressive how quickly a real-time multi-user application can be built with Colyseus — once you figure out how to properly describe the schema. This article highlights the process, technical decisions and lessons learned behind building the real-time game Autowuzzler. Learn how to share game state across multiple clients in real-time with Colyseus, do physics calculations with Matter.js, stor

MGMartin GrubingerMartin Grubinger·October 22, 2021Engineering
Engineering — Building An API With Gatsby Functions — Smashing Magazine

Building An API With Gatsby Functions — Smashing Magazine

With server-side and client-side code coexisting in the same code base, front-end developers can extend the reach of what’s possible using the tools they already know and love. In this tutorial, Paul Scanlon explains how to build an API by using Gatsby Functions and what you need to keep in mind when deploying it to Gatsby Cloud.

PSPaul ScanlonPaul Scanlon·October 19, 2021Engineering
Engineering — A Simple But Effective Mental Health Routine For Programmers — Smashing Magazine

A Simple But Effective Mental Health Routine For Programmers — Smashing Magazine

Maintaining optimal mental health is critical for programmers because most of our work is more mentally demanding than it is physically. However, building and maintaining a reliable and rewarding strategy to maintain a healthy balance in our work demands can be a challenge. In this article, we’ll look at why taking care of our work-life balance is important, how to develop a simple and effective m

DODave OscarDave Oscar·October 16, 2021Engineering
Design & UX — Tips And Tricks For Evaluating UX/UI Designers — Smashing Magazine

Tips And Tricks For Evaluating UX/UI Designers — Smashing Magazine

Customers may start using your app because you offer a unique product, but user experience is what makes them stay. For that, you need excellent UX designers, and the know-how to spot them when hiring. This article is about the essentials of evaluating potential designers and design agencies you wish to hire. Getting this right is more important than ever.

NSNataliya SambirNataliya Sambir·October 15, 2021Design & UX
Frontend — Smart CSS Solutions For Common UI Challenges — Smashing Magazine

Smart CSS Solutions For Common UI Challenges — Smashing Magazine

Writing CSS has probably never been more fun and exciting than it is today. In this post we’ll take a look at common problems and use cases we all have to face in our work and how to solve them with modern CSS. If you’re interested, we’ve also just recently covered [CSS auditing tools](https://www.smashingmagazine.com/2021/03/css-auditing-tools/), [CSS generators](https://www.smashingmagazine.com/

CMCosima MielkeCosima Mielke·October 14, 2021Frontend
Frontend — Useful React APIs For Building Flexible Components With TypeScript — Smashing Magazine

Useful React APIs For Building Flexible Components With TypeScript — Smashing Magazine

React with JSX is a fantastic tool for making easy-to-use components. Typescript components make it an absolute pleasure for developers to integrate your components into their apps and explore your APIs. Learn about three lesser-known React APIs that can take your components to the next level, and help you build even better React Components in this article.

GKGaurav KhannaGaurav Khanna·October 12, 2021Frontend
Design & UX — Bridging The Gap Between Designers And Developers — Smashing Magazine

Bridging The Gap Between Designers And Developers — Smashing Magazine

UXPin has recently launched a new feature called “Merge”. This tool aims to break through the chasms of design and development, all while improving the agility and quality our teams expect. This new technology may cause some rethink on how the whole design team and engineering team collaborates.

MTMatthew TalebiMatthew Talebi·October 12, 2021Design & UX
Frontend — The Autofill Dark Pattern — Smashing Magazine

The Autofill Dark Pattern — Smashing Magazine

A “dark pattern” is a deceptive UX pattern that tricks users into doing things they may not really want to do. Autofill is a widespread feature either by choice or by accident: who hasn’t accepted to let the browser save/use web form information, either on purpose or by mistake? In this article, Alvaro Montoro does a little experiment to find out how much privacy is taken away from users across th

AMAlvaro MontoroAlvaro Montoro·October 11, 2021Frontend
Frontend — Composable CSS Animation In Vue With AnimXYZ — Smashing Magazine

Composable CSS Animation In Vue With AnimXYZ — Smashing Magazine

Most animation libraries like GSAP and Framer Motion are built purely with JavaScript or TypeScript, unlike AnimXYZ, which is labelled “the first composable CSS animation toolkit”, built mainly with SCSS. While a simple library, it can be used to achieve a lot of awesome animation on the web in a short amount of time and little code. In this article, Ejiro Asiuwhu will show you how to use the Anim

EAEjiro AsiuwhuEjiro Asiuwhu·October 9, 2021Frontend
Engineering — Building A Static-First MadLib Generator With Portable Text And Netlify On-Demand Builder Functions — Smashing Magazine

Building A Static-First MadLib Generator With Portable Text And Netlify On-Demand Builder Functions — Smashing Magazine

Creating an interactive experience with fiction can be a chore with traditional content management tools. Let’s make it the domain of just one content creator in which the user will fill out a form before reading the story. In this article, Bryan Robinson will be building an interactive fiction experience in which a user can insert words that match parts of speech given by the content creator. Let

BRBryan RobinsonBryan Robinson·October 8, 2021Engineering
AI & ML — Freebie: COVID-19 Icon Set (56 Icons, AI, EPS, SVG, PNG) — Smashing Magazine

Freebie: COVID-19 Icon Set (56 Icons, AI, EPS, SVG, PNG) — Smashing Magazine

Every once in a while, we publish [freebies](https://www.smashingmagazine.com/category/freebies/) related to different occasions and themes. We hope that with this icon set, every designer will be able to find their own use case and contribute to saving lives. Free for personal and commercial use. [Get the free icon pack](https://smashingmagazine.com/provide/smashing-freebie-coronavirus-covid19.zi

ATAnton TyschenkoAnton Tyschenko·October 7, 2021AI & ML
Frontend — A Guide To CSS Debugging — Smashing Magazine

A Guide To CSS Debugging — Smashing Magazine

Debugging in CSS means figuring out what might be the problem when you have unexpected layout results. Today, Stephanie Eckles will look at a few categories bugs often fit into, see how you can evaluate the situation, and explore techniques that help prevent these bugs.

SEStephanie EcklesStephanie Eckles·October 6, 2021Frontend
Architecture — Local Testing A Serverless API (API Gateway And Lambda) — Smashing Magazine

Local Testing A Serverless API (API Gateway And Lambda) — Smashing Magazine

Have you ever struggled with testing cloud services locally? Specifically, have you ever struggled with locally testing an API that uses API Gateway and Lambda, with the Serverless framework, on AWS? In this article, Tom Hudson shares a quick overview of how easy it is to quickly set up your project to test locally before deploying to AWS.

TTomhudson·October 5, 2021Architecture
Frontend — How To Build An Expandable Accessible Gallery — Smashing Magazine

How To Build An Expandable Accessible Gallery — Smashing Magazine

One of the use cases for using CSS Grid is to display a gallery of images, but a gallery on its own may not be that exciting. In this article, Silvestar Bistrović will be looking at how to set up a gallery that is expandable as well as accessible with a few tips and tricks along the way. Let’s get started!

SBSilvestar BistrovicSilvestar Bistrovic·October 4, 2021Frontend
Engineering — Using Modern Image Formats: AVIF And WebP — Smashing Magazine

Using Modern Image Formats: AVIF And WebP — Smashing Magazine

In this article, we’ll highlight how modern image formats (AVIF or WebP) can improve compression by up to 50% and deliver better quality per-byte while still looking visually appealing. We’ll compare what’s possible at high-quality, low-quality and file-size targets.

AOAddy OsmaniAddy Osmani·September 29, 2021Engineering
Design & UX — Improving The Accessibility Of Your Markdown — Smashing Magazine

Improving The Accessibility Of Your Markdown — Smashing Magazine

You can find Markdown in many places on the Internet. In this article, Eric Bailey covers different aspects of Markdown and how it interacts with other technology. At first, it may seem daunting since there is a lot of content to cover across a few different subject areas, but keep in mind that each tweak and update will have a direct impact on someone’s quality of life when using the web.

EBEric BaileyEric Bailey·September 28, 2021Design & UX
Architecture — Let’s Dive Into Cypress For End-to-End Testing — Smashing Magazine

Let’s Dive Into Cypress For End-to-End Testing — Smashing Magazine

Is end-to-end testing a painful topic for you? End-to-end testing does have some pitfalls that are cause for concern. Let’s look at how to prevent many of them. In this article, Ramona Schwering explains how to handle end-to-end testing with Cypress and make it make it not so tedious and expensive for yourself, but fun instead. hope to show you that end-end testing can be fun!

RSRamona SchweringRamona Schwering·September 27, 2021Architecture
Frontend — Rebuilding A Large E-Commerce Website With Next.js (Case Study) — Smashing Magazine

Rebuilding A Large E-Commerce Website With Next.js (Case Study) — Smashing Magazine

Developing with Next.js is amazing, but there are definitely some challenges. The developer experience with Next.js is something you just need to experience. We made the switch from a more traditional integrated e-commerce platform to a headless platform with Next.js. Here are the most important lessons learned while rebuilding a large e-commerce site with Next.js.

JKJonne KatsJonne Kats·September 24, 2021Frontend
Languages — Free Online Workshop: Frustrating Design Patterns And How To Fix Them — Smashing Magazine

Free Online Workshop: Frustrating Design Patterns And How To Fix Them — Smashing Magazine

You’ve seen them before. Confusing and frustrating design patterns that seem to be chasing you everywhere you go, from one website to another. It’s time to fix them for good in a [free Smashing online workshop](https://smashingconf.com/online-workshops/workshops/frustrating-design-patterns/) next week. Today, Vitaly Friedman will take a look into carousels, modals, infinite scroll, parallax and sc

VFVitaly FriedmanVitaly Friedman·September 24, 2021Languages
Frontend — Simplifying Form Styles With accent-color — Smashing Magazine

Simplifying Form Styles With accent-color — Smashing Magazine

The new CSS `accent-color` property makes it quick and easy to roll out our brand colors to certain form inputs by leveraging user agent styles. It has the potential to provide quick and easy styling for many of our form elements, especially where extensive customization isn’t needed, as well as allowing the browser to pick the best options for accessibility. In this article Michelle Barker will t

MBMichelle BarkerMichelle Barker·September 23, 2021Frontend