Home/Frontend
Topic

Frontend

1,551 articles on Frontend.

11,834 articles
Frontend — Exploring the Animation Landscape of 2023 Wrapped

Exploring the Animation Landscape of 2023 Wrapped

Each year, we aim to elevate the Spotify Wrapped experience for our users, crafting captivating data stories and pushing the boundaries of what the experience delivers to users. Since 2019, Spotify Wrapped has been available through the Spotify app on both Android and iOS. In 2023, we embarked on a path to share the joy of Wrapped with a larger global audience with a complementary web experience.

ZTZela Taino·January 1, 2024Frontend
Frontend — Making Sense Of “Senseless” JavaScript Features — Smashing Magazine

Making Sense Of “Senseless” JavaScript Features — Smashing Magazine

JavaScript may be the most popular client-side language in the world, but it’s far from perfect and not without its quirks. Juan Diego Rodriguez examines several “absurd” JavaScript eccentricities and explains how they made it into the language as well as how to avoid them in your own code.

JDJuan Diego RodriguezJuan Diego Rodriguez·December 28, 2023Frontend
Frontend — The View Transitions API And Delightful UI Animations (Part 1) — Smashing Magazine

The View Transitions API And Delightful UI Animations (Part 1) — Smashing Magazine

The View Transitions API is a new — but game-changing — feature that allows us to do the types of reactive state-based UI and page transitions that have traditionally been exclusive to JavaScript frameworks. In the first part of this mini two-part series, Adrian Bece thoroughly explains why we need the API and demonstrates its basic usage.

ABAdrian BeceAdrian Bece·December 22, 2023Frontend
Frontend — Our Journey Migrating to AWS IMDSv2

Our Journey Migrating to AWS IMDSv2

We are heavy users of Amazon Compute Compute Cloud (EC2) at Slack — we run approximately 60,000 EC2 instances across 17 AWS regions while operating hundreds of AWS accounts. A multitude of teams own and manage our various instances. The Instance Metadata Service (IMDS) is an on-instance component that can be used to gain an…

AGArchie Gunasekara·December 12, 2023Frontend
Frontend — Getting Started with React Native Skia - Shopify

Getting Started with React Native Skia - Shopify

Skia is a cross-platform 2D graphics library that provides a set of drawing primitives which run on iOS, Android, macOS, Windows, Linux, and the browser. Over the past two years, Shopify Engineering has sponsored development of the @shopify/react-native-skia library that exposes Skia functionality to React Native. The React Native (RN) Skia community is one of the most vibrant and interesting in t

SEShopify Engineering·December 4, 2023Frontend
Frontend — CSS Responsive Multi-Line Ribbon Shapes (Part 2) — Smashing Magazine

CSS Responsive Multi-Line Ribbon Shapes (Part 2) — Smashing Magazine

In Part 1 of the series, Temani Afif demonstrated how creating ribbon patterns in CSS has evolved with the availability of new CSS features. In this second installment of this brief two-part series, we look at two additional ribbon variations that introduce techniques for masking a repeated background gradient in CSS.

TATemani AfifTemani Afif·November 22, 2023Frontend
Frontend — An Interactive Guide to CSS Grid

An Interactive Guide to CSS Grid

CSS Grid is an incredibly powerful tool for building layouts on the web, but like all powerful tools, there's a significant learning curve. In this tutorial, we'll build a mental model for how CSS Grid works and how we can use it effectively. I'll share the biggest 💡 lightbulb moments I've had in my own learning journey.

JWJosh W. Comeau·November 21, 2023Frontend
Frontend — The foundations of the Frontend Cloud

The foundations of the Frontend Cloud

An introduction to the underlying infrastructure of the Frontend Cloud: Part 1 of the developer's guide to a future-proofed stack for the modern frontend.

VVercel·November 21, 2023Frontend
Frontend — CSS Responsive Multi-Line Ribbon Shapes (Part 1) — Smashing Magazine

CSS Responsive Multi-Line Ribbon Shapes (Part 1) — Smashing Magazine

Ribbons have been used to accent designs for many years now. But, the way we approach them in CSS has evolved with the introduction of newer features. In this article, Temani Afif combines background and gradient tricks to create ribbon shapes in CSS that are not only responsive but support multi-line text and are easily adjustable with a few CSS variables.

TATemani AfifTemani Afif·November 15, 2023Frontend
Frontend — Creating Accessible UI Animations — Smashing Magazine

Creating Accessible UI Animations — Smashing Magazine

Animation and accessibility are often seen as two separate powers at odds with one another. How is it possible to strike a balance between elements that move and the possible negative effects they expose to users who are sensitive to motion? Oriana García explains how her team at Mercado Libre tackled the challenge by creating guiding principles for applying animation to user interfaces and incorp

OGOriana GarciaOriana Garcia·November 10, 2023Frontend
Frontend — Headless Component: a pattern for composing React UIs

Headless Component: a pattern for composing React UIs

As React UI controls become more sophisticated, complex logic can get intertwined with the visual representation. This makes it hard to reason about the behavior of the component, hard to test it, and necessary to build similar components that need a different look. A Headless Component extracts all non-visual logic and state management, separating the brain of a component from its looks.

JQJuntao QIU | 邱俊涛·November 7, 2023Frontend
Frontend — Addressing Accessibility Concerns With Using Fluid Type — Smashing Magazine

Addressing Accessibility Concerns With Using Fluid Type — Smashing Magazine

The CSS `clamp()` function is often paired with viewport units for “fluid” font sizing that scales the text up and down at different viewport sizes. As common as this technique is, several voices warn that it opens up situations where text can fail WCAG Success Criterion 1.4.4, which specifies that text should scale up to at least 200% when the user’s browser reaches its 500% maximum zoom level. M

MBMaxwell BarvianMaxwell Barvian·November 7, 2023Frontend
Frontend — How Meta built Threads in 5 months

How Meta built Threads in 5 months

In about five short months, a small team of engineers at Meta took Threads, the new text-based conversations app, from from an idea to the most successful app launch of all time, pulling in over 100M users in its first five days. But this achievement wouldn’t have been possible without Meta’s existing systems and infrastructure. […]

CWChris Wiltz·November 6, 2023Frontend
Frontend — How To Animate Along A Path In CSS — Smashing Magazine

How To Animate Along A Path In CSS — Smashing Magazine

CSS loaders and progress indicators are some of the most widely used examples in tutorials and documentation. In this article, Preethi demonstrates an approach using animated custom properties, a conic gradient, CSS `offset`, and emoji to create the illusion of a scooter racing along a donut track.

PSPreethi SamPreethi Sam·October 18, 2023Frontend
Frontend — js13kGames 2023 winners 🏆

js13kGames 2023 winners 🏆

The twelfth annual js13kGames coding competition, challenging participants to create games in 13kB or less of JavaScript in a month, just wrapped up. This post highlights the top thirteen entries.

LRLee ReillyLee Reilly·October 13, 2023Frontend
Frontend — The Path To Awesome CSS Easing With The linear() Function — Smashing Magazine

The Path To Awesome CSS Easing With The linear() Function — Smashing Magazine

With the new CSS `linear()` easing function on the horizon, the possibilities of what we can do to create natural-feeling animations and transitions in the future are greatly expanded. Jhey Tompkins looks at the current state of CSS easing in this article and demonstrates what we can expect from `linear()`, including handy tools to get your hands on it today.

JTJhey TompkinsJhey Tompkins·September 22, 2023Frontend
Frontend — Understanding the JavaScript Modulo Operator

Understanding the JavaScript Modulo Operator

One of the most commonly-misunderstood operators is Modulo (%). In this tutorial, we'll unpack exactly what this little bugger does, and learn how it can help us solve practical problems.

JWJosh W. Comeau·September 18, 2023Frontend
Frontend — Revealing Images With CSS Mask Animations — Smashing Magazine

Revealing Images With CSS Mask Animations — Smashing Magazine

Let’s play with images and experiment with CSS masks. The idea is fairly simple: take a single `` tag and harness the power of CSS to accomplish complex hover transitions. Through different demos, you will see how CSS masks combined with gradients allow us to create fancy effects — with efficient, reusable code.

TATemani AfifTemani Afif·September 15, 2023Frontend
Frontend — Making Sense of React Server Components

Making Sense of React Server Components

This year, the React team unveiled something they've been quietly researching for years: an official way to run React components exclusively on the server. This is a significant paradigm shift, and it's caused a whole lot of confusion in the React community. In this tutorial, we'll explore this new world, and build an intuition for how it works, and how we can take advantage of it.

JWJosh W. Comeau·September 6, 2023Frontend
Frontend — Protecting data on Apple devices with Cloudflare and Jamf

Protecting data on Apple devices with Cloudflare and Jamf

Our unique partnership offering will enable Jamf customers to easily implement network Data Loss Prevention (DLP), Remote Browser Isolation (RBI), and SaaS Tenancy Controls from Cloudflare to prevent sensitive data loss from their Apple devices

MMMythili, Matt VlasachMythili, Matt Vlasach·July 20, 2023Frontend
Frontend — Bringing HDR video to Reels

Bringing HDR video to Reels

Meta has made it possible for people to upload high dynamic range (HDR) videos from their phone’s camera roll to Reels on Facebook and Instagram. To show standard dynamic range (SDR) UI elements and overlays legibly on top of HDR video, we render them at a brightness level comparable to the video itself. We solved […]

MEMeta Engineering·July 17, 2023Frontend
Frontend — Cracking Electron apps open

Cracking Electron apps open

I use the draw.io desktop app to make diagrams for my website. I run it on an actual desktop, like Windows or macOS, but the asset pipeline that converts .drawio files, to .pdf , to .svg , and then to .svg again (but smaller) runs on Linux. So I have a Rust program somewhere that opens headless chromium, and loads just the HTML/JS/CSS part of draw.io I need to render my diagrams, and then use Chro

AWAmos WengerAmos Wenger·July 3, 2023Frontend
Frontend — Animated Pride Flags

Animated Pride Flags

Happy Pride month! In this tutorial, I'll share a handful of my favourite animation tricks. You'll learn how to build an animated wavy pride flag using CSS keyframes and linear gradients. We'll also see how to make it dynamic using React. 🏳️‍🌈

JWJosh W. Comeau·June 6, 2023Frontend
Frontend — Advanced Form Control Styling With Selectmenu And Anchoring API — Smashing Magazine

Advanced Form Control Styling With Selectmenu And Anchoring API — Smashing Magazine

Thanks to the Open UI working community group, there’s a new element on the horizon, , that will make styling this type of form control a whole lot better. You’re going to walk through an early implementation of this new experimental element by creating a pattern that you would never have thought possible with CSS alone — a radial selection menu.

BDBrecht De RuyteBrecht De Ruyte·June 1, 2023Frontend
Frontend — How Oxy uses hooks for maximum extensibility

How Oxy uses hooks for maximum extensibility

Let's take a look from the perspective of an Oxy application developer, and then we can discuss the implementation of the framework and some of the interesting design decisions we made

WFWbartlett, FisherWbartlett, Fisher·May 26, 2023Frontend
Frontend — Workers Browser Rendering API enters open beta

Workers Browser Rendering API enters open beta

The Workers Browser Rendering API allows developers to programmatically control and interact with a headless browser instance and create automation flows for their applications and products. Today we enter the open beta and start onboarding our customers.

CJCelso, Joshua ClaeysCelso, Joshua Claeys·May 19, 2023Frontend
Frontend — A Guide To Redux Toolkit With TypeScript — Smashing Magazine

A Guide To Redux Toolkit With TypeScript — Smashing Magazine

The Redux Toolkit documentation calls the library a better way to write Redux logic for React apps and a simple and efficient toolkit for Redux development. In this article, you will learn about the Redux toolkit by building an app that tracks project issues.

DKDeepak KumarDeepak Kumar·May 10, 2023Frontend
Frontend — What does Vercel do?

What does Vercel do?

Technically newsletter founder Justin Gage explains how Vercel makes building web applications as easy as possible, powered by the frontend cloud.

VVercel·May 10, 2023Frontend