nowfound

Life & fun · January 11, 2026

I made a Tailwind alternative for Preact

This is a small TailwindCSS alternative based on a css template literal. I was inspired by styled-components and EmotionCSS, which however do not work well with ViteJS and specifically Preact. This provides a better experience than Tailwind, as you can use all CSS language features without learning new conventions while maintaining a per-component styling approach. This also turns out to be more inspectable in the browser's dev-tools, as snippets are extracted as-is and are not fragmented across thousands of small classes. I wanted something more optimized than other CSS-in-JS alternatives…

I made a Tailwind alternative for Preact launched on January 11, 2026 with 6 votes, #2,272 of 14,584 launches that month and more than 75% of that year's launches.

Visit github.com ↗Alternativestop 16% of January 2026

What it does

Small emotion css clone for preact with support for easily using clsx - aziis98/preact-css-extract

This package provides the following two main features: a vite plugin for compile-time css extraction and a custom preact classList prop integration based on clsx . This is inspired by EmotionCSS (that is a bit outdated to my understanding and it doesn't support ViteJS and Preact together) and VueJS class attributes. Also I don't want to use heavy css-in-js solutions or TailwindCSS (for various reasons ). This project provides tools for managing component styling at build time while maintaining a clean, developer-friendly API. It includes: CSS Extract Plugin : A Vite plugin that processes template literal CSS declarations and extracts them into a central stylesheet during compilation. Preact…from github.com

In the maker’s words, at launch

This is a small TailwindCSS alternative based on a css template literal. I was inspired by styled-components and EmotionCSS, which however do not work well with ViteJS and specifically Preact. This provides a better experience than Tailwind, as you can use all CSS language features without learning new conventions…

Does a similar job

all alternatives →
  • Tailwind UI Templates2022 · tailwindcss.com · ▲444

    Beautiful Next.js templates built by the Tailwind CSS team.

  • Tailwind Studio2024 · ecomoto.io · ▲927

    Style your React app so fast

  • Tailwind CSS v2.02020 · tailwindcss.com · ▲385

    Rapidly build modern websites without ever leaving your HTML

  • Tailwind CSS Play2020 · play.tailwindcss.com · ▲465

    An advanced online playground for Tailwind CSS

  • Tailwind CSS2017 · tailwindcss.com · ▲420

    A utility-first CSS framework for rapid UI development

  • Tailwind CSS v1.02019 · tailwindcss.com · ▲279

    A utility-first CSS framework for building custom designs.

More life & fun this month

the category →

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, January 2026

the whole month →
  • IN

    Hey HN! I wanted to share something I built over the last few weeks: isometric.nyc is a massive isometric pixel art map of NYC, built with nano banana and coding agents. I didn't write a single line of code. Of course no-code doesn't mean no-engineering. This project took a lot more manual labor than I'd hoped! I wrote a deep dive on the workflow and some thoughts about the future of AI coding and creativity: http://cannoneyed.com/projects/isometric-nyc

    AI · Jan 2026 · cannoneyed.com

  • Cowork▲1,088

    Turn Claude into your digital coworker

    AI · Jan 2026 · claude.com

  • DataFast▲867

    Revenue-first analytics

    Growth · Jan 2026 · datafa.st

  • OpenClaw▲836

    The AI that actually does things

    AI · Jan 2026 · openclaw.ai

  • Automatic AI-powered code reviews the moment you open a PR

    Dev tools · Jan 2026 · kilo.ai

  • AI Content Maker, for Social Media Publishing

    AI · Jan 2026 · postsyncer.com