Component styling in a JS world — evolve your mental model
Stop fighting with brittle, untyped class names. A declarative `variants` API offers a type-safe way to style components, complete with autocomplete.
#1about 4 minutes
Improving developer experience with connected tooling
Modern frameworks and tools should improve developer experience by creating interconnected, frictionless workflows.
#2about 5 minutes
The friction and errors of traditional CSS workflows
Separating component logic from styling files leads to context switching, potential for errors, and class names acting as disconnected magic strings.
#3about 3 minutes
Introducing modern zero-runtime CSS-in-JS libraries
New CSS-in-JS libraries like Stitches and vanilla-extract overcome historical performance issues by offering zero-runtime overhead and better tooling integration.
#4about 9 minutes
Live demo creating styled components with Stitches
A live coding demonstration shows how to use the `styled` function in Stitches to create type-safe, styled components directly in JavaScript.
#5about 6 minutes
Building powerful component variants with type safety
The `variants` API in Stitches allows for creating multiple component variations with type-safe props and autocomplete, simplifying conditional styling.
#6about 2 minutes
A new mental model for unified component development
CSS-in-JS unifies HTML, CSS, and JavaScript, creating a single, coherent mental model where styling is an integral part of the component.
#7about 12 minutes
Q&A on Stitches, performance, and alternatives
The speaker answers audience questions comparing Stitches to other tools, discussing performance, theming, responsive design, and framework compatibility.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
01:40 MIN
The technical stack for a multi-framework component library
DB UX Design System – How we’ve open sourced our largest inner source project
03:19 MIN
Styling native components with CSS
Unleash your web skills on native!
00:45 MIN
Simplifying development with Lit and Stencil
Extending HTML with Web Components
03:33 MIN
Creating modern code islands with web components
Defeat that legacy monster! Guerilla refactoring with web standards
05:23 MIN
Separation of concerns versus modern web frameworks
WeAreDevelopers LIVE - Performance and AI?, Social Media decline, Developer Events and more
02:16 MIN
Styling applications with JavaScript and Flexbox
Making the switch from web to mobile development
02:16 MIN
Using Web Components and Svelte as an alternative
On tour with heroes == Moving from Angular to WebComponents
07:48 MIN
Answering audience questions about web components
Frameworkless: How to use Web-Components in production?
Micro Components - a different approach to a simpler component-based webThere has been a lot of heated discussion lately in the web community about component based development. One side argued that Web Components are a standard we should follow whereas others complained that they still lag behind in what frameworks offer...
Chris Heilmann
Dev Digest 136 - No JS(on) of mineNews and ArticlesDouglas Crockford is our featured video, so let's talk about evolving JavaScript and all things JSON. Judicious JSON explains all the weird things in it, you can learn why it can be incredibly slow, people wonder what even is a JSON ...
Daniel Cranney
The State of HTML 2024: What can we learn from it?The results of the State of HTML 2024 survey are in! Though the name suggests it’s HTML-only, the survey focuses on the web platform in a more general sense, giving us some fascinating insights into not only the state of the web, but also some sense ...
Luis Minvielle
Top 7 CSS Frameworks in 2025What is a CSS framework?A CSS framework comprises multiple ready-to-use CSS libraries for developers and web designers. The stylesheets are prepared for everyday tasks in web design, such as the navbar, font, colour, and layout setup. They simplify t...
From learning to earning
Jobs that call for the skills explored in this talk.