frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Basecoat – All of the shadcn/ui magic, none of the React

https://basecoatui.com
11•hunvreus•1y ago
In a nutshell: Basecoat is a port of shadcn/ui to HTML and Tailwind CSS. It's a modern, themeable component library; everything from buttons to comboboxes and dialogs.

Why? Well, I got sick of React and moved over to a more "old school" stack (Python, HTMX, Alpine.js and Tailwind).

The one thing I missed was shadcn/ui [1]. Nice defaults, well thought out design system, easy to theme and great to build your own component library with.

I didn't find the alternatives compelling: Flowbite, Preline and the likes encourage you to copy/paste dozens of classes for each element.

That's not how I use Tailwind. I love the utility-first approach, but I don't want walls of classes for each button, form element or tooltip I have in my app.

I had been building my own component library for a project I’m working on (a Vercel for Python apps) and realized it may be worth my time to firm things up.

Why I think it's cool? Well:

- No React. Just Tailwind CSS (with a tiny bit of Alpine.js if you choose to). You can use that with whatever stack you want.

- Jinja and Nunjucks macros. I hope to support more template engines.

- 100% compatible with shadcn/ui themes (you can play with the theme select box on the site).

- Super easy to install and use (there's even a CLI).

- Accessible, with ARIA support.

- Did I mention no React?

Hope some of you find it useful.

[1]: https://ui.shadcn.com/

[2]: https://v4.shadcn.com/ (this is actually the new/upcoming version of shadcn/ui).

Comments

drivingmenuts•1y ago
Not working in Safari. Did you, perchance, test this only in Chrome?

A sampling of error messages:

- Failed to load resource: Load cannot follow more than 20 redirections

- Cross-origin script load denied by Cross-Origin Resource Sharing policy.

- TypeError: window.basecoat.registerDialog is not a function. (In 'window.basecoat.registerDialog(Alpine)', 'window.basecoat.registerDialog' is undefined)

- Alpine Expression Error: Can't find variable: sidebar

and so on and so forth. It just goes downhill from there.

hunvreus•1y ago
I tested it in Safari, and just checked: I don't get any of these errors.

Which page did you get that on? The front page?

drivingmenuts•1y ago
And … now it works. I didn't do anything different, but problem apparently solved.
hunvreus•1y ago
Good to hear. I was trying to figure out what I did wrong. Maybe a CDN issue.

Thanks for checking it out.

pbowyer•1y ago
Well done, this looks like a great beginning! I'll be giving this a test on my next project.

Hoping you add more of shadcn/ui, I'm partial to the sheet.

The iPhone Duo

https://daringfireball.net/2026/10/the_iphone_duo
1•johnbehnke•2m ago•0 comments

Loco: The one-person framework for Rust

https://loco.rs/
1•mike1o1•5m ago•0 comments

Κ = 0.003 for integer multiplication crossed

https://github.com/CrocSwap/integer-mult-bounds/pull/4441
1•aleph_minus_one•6m ago•1 comments

Show HN: ZeGrapher v4: modern math plotter

https://zegrapher.com/en/
1•adelks•6m ago•0 comments

Singulion Structure and the Voynich Manuscript

https://journals.openedition.org/digitalmedievalist/2331
1•jhncls•8m ago•0 comments

Apple is finding its voice for what more sophisticated multitouch UX can be

https://royalicing.com/2026/apple-voice-iphone-duo
1•burntcaramel•8m ago•0 comments

Rails Is a JIT Compiler

https://railsatscale.com/2026-10-21-rails-is-a-jit-compiler/
1•hellerve•11m ago•0 comments

Show HN: Embodsi – Embodied Super Intelligence

https://embodsi.com/
1•laser•13m ago•0 comments

There isn't an easy exploit for this PHP vulnerability

https://eliastaylor.com/noexploit/
2•zkldi•15m ago•1 comments

Anthropic opens research preview of Claude Duet, a agent for professionals

https://www.reuters.com/technology/anthropic-unveils-claude-duet-ai-agent-app-2026-10-21/
1•satirr•16m ago•1 comments

Firefox Auto-Run on Windows

1•BubbleRings•23m ago•0 comments

Why didn't we use Ro­Register­For­Apartment­Shutdown?

https://devblogs.microsoft.com/oldnewthing/20261021-00/?p=112786/
1•ibobev•23m ago•0 comments

Microspeak: Drain the slide, back-up slides

https://devblogs.microsoft.com/oldnewthing/20261020-00/?p=112784/
1•ibobev•23m ago•0 comments

Advanced Shader Delivery Is Available Now Across Hardware

https://devblogs.microsoft.com/directx/advanced-shader-delivery-is-available-now-across-hardware/
1•ibobev•24m ago•0 comments

Ask HN: Are we giving away our civilization?

6•bigwheels•28m ago•4 comments

Robotaxi – Safety

https://www.tesla.com/robotaxi/safety
1•shekhar101•36m ago•0 comments

Mark Zuckerberg Agrees to Stay in California Despite Billionaires' Tax Measure

https://www.wired.com/story/mark-zuckerberg-agrees-to-stay-in-california-despite-billionaires-tax...
2•mikelgan•37m ago•0 comments

US Denaturalizes 2 People Who Gained Citizenship Hiding Criminal Activity

https://www.justice.gov/opa/pr/trump-administration-denaturalizes-two-people-who-gained-us-citize...
2•gnabgib•40m ago•0 comments

Meta's new terms say if its AI makes a mistake, it will be the customer's fault

https://www.cio.com/article/4237395/metas-new-enterprise-contract-says-if-its-ai-makes-a-mistake-...
5•cdrnsf•40m ago•2 comments

Update your Xbox Series S|X Controller through WebUSB

https://dzervas.github.io/xpad-webusb-update/
1•ttouch•44m ago•0 comments

Morph 4K Firmware v4: Simulating the Physics of Retro Video

https://www.pixelfx.co/post/morph-4k-firmware-v4-simulating-the-physics-of-retro-video
1•bpierre•49m ago•0 comments

GameFrame: Agentic Framework for Reverse Engineering Games

https://tanepiper.github.io/game-frame/
3•tanepiper•50m ago•1 comments

Veggie Thursdays and vegan surprises How Ghent became a plant-based paradise

https://www.theguardian.com/food/2026/oct/21/veggie-thursdays-vegan-surprises-ghent-plant-based-p...
2•rdmuser•50m ago•0 comments

Completing a task does not remove the work of managing it

https://civicpivot.blogspot.com/2026/10/the-work-hidden-inside-just-ask.html
1•civicpivot•54m ago•0 comments

They Created a Cell That's Almost Alive. What to Do with It Now?

https://www.nytimes.com/2026/10/14/science/spudcell-adamala-biotic.html
5•CharlesW•55m ago•1 comments

Postgres Recovery_prefetch Considered Harmful and Causing Outages

https://ardentperf.com/2026/10/20/postgres-recovery_prefetch-considered-harmful-and-causing-outages/
1•plaur782•55m ago•0 comments

Qpack amplification attacks against HTTP/3 servers

https://foxio.io/blog/header-accordions-qpack-amplification-attacks-against-http-3-servers
7•kozika•55m ago•1 comments

Dense Sand – Sovereign BYOA AI SoC Platform for AWS

https://aws.amazon.com/marketplace/pp/prodview-iamlatxnobx7o
1•DenseSand•57m ago•0 comments

Make Your Startup More Powerful, Not Just More Profitable

https://www.paulgraham.com/powerful.html
4•mrkn1•59m ago•0 comments

SimulaVR Compute Pack Progress

https://simulavr.com/blog/compute-pack-progress/
1•ai_critic•59m ago•0 comments