Nicheloom visits: 60,552 all-time · 7,913 in the last 7 days

The opportunity tracker for new startups.

Today: 895 launches · Niche of the day: browser-based video games · See what launched today →

I made a Tailwind alternative for Preact

Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.

Want to reach these readers? Sponsor an issue.

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 that generate CSS at runtime, so I created a ViteJS plugin for this. It extracts all style snippets, replaces them with classes like css-a1b2c3, and injects all the corresponding styles into a CSS file in place of an "@extracted-css" directive.There is also a preact options hook that adds a custom "classList" attribute, which maps to clsx for easy class composition (similarly to VueJS, Svelte, etc.).P.S. I know other frameworks exist, but I have really been enjoying using Preact for frontend development lately.

HN · launched Jan 11, 2026 · 6 upvotes (top 75%) · 0 views

Niche: software development frameworks · 154 launches, 2 in the last 7 days ▼ -87% · Explore this niche →

Category and tags

  • Horizontal
  • Dev tools
  • Developer
  • Not AI
  • Hobby / open-source project

Visit website ↗ Source listing ↗

Could you build this?

Yes Building a tagged template literal CSS-in-JS utility for Preact and Vite involves standard runtime style injection or a basic build-time Babel/Vite plugin, easily implemented via vibe coding.

Discussion

No comments on this launch.

Competitors

Other products that read as similar to this one : 315 launches clear the similarity bar, closest 8 shown.

Attention rank: #285 of 316 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).

Launched 68 days after the earliest competitor.

  • Mlut · hn · 2026-02-25 · 5 upvotes · similarity 0.61
  • TailwindFlex · ph · 2026-11-03 · 2 upvotes · similarity 0.54
  • BTN.FORGE · ph · 2026-10-01 · 1 upvotes · similarity 0.53
  • Windstruck · ph · 2026-11-12 · 2 upvotes · similarity 0.51
  • SVG2CSS · ph · 2026-09-14 · 1 upvotes · similarity 0.51
  • htmlwind · ph · 2026-09-24 · 1 upvotes · similarity 0.51
  • tailwind-dictionary · ph · 2026-10-11 · 1 upvotes · similarity 0.50
  • MiroMiro v2 · ph · 2026-05-11 · 177 upvotes · similarity 0.50

The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.