frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•10mo 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•10mo 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•10mo 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•10mo ago
And … now it works. I didn't do anything different, but problem apparently solved.
hunvreus•10mo ago
Good to hear. I was trying to figure out what I did wrong. Maybe a CDN issue.

Thanks for checking it out.

pbowyer•10mo 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.

Roko's Basilisk

https://en.wikipedia.org/wiki/Roko%27s_basilisk
1•rossdavidh•2m ago•1 comments

Tell HN: Firefox is being slowly deprecated by the industry

2•gurjeet•9m ago•1 comments

JD Vance Tells Me That UFOs Are Demons

https://xcancel.com/bennyjohnson/status/2037611400223179189
1•doener•11m ago•0 comments

(12 Hours) How Does a Computer Work? [video]

https://www.youtube.com/watch?v=rl0jkP9kOMw
1•leobdkr•15m ago•0 comments

Godot-Rust v0.5 Release

https://godot-rust.github.io/dev/march-2026-update/
1•roflcopter69•17m ago•0 comments

European country vows to give homeowners 'free electricity'

https://www.euronews.com/2026/03/27/european-country-vows-to-give-homeowners-free-electricity-ins...
2•doener•20m ago•1 comments

The Last Time – Unix, NTP, and HFS Epochs

https://www.potaroo.net/ispcol/2026-03/endtime.html
1•caminanteblanco•21m ago•0 comments

Programming After Programmers? A Response to the New York Times on AI and Coding

https://curryguinncspb.github.io/programming-after-programmers/
2•tsumnia•24m ago•0 comments

I built a tiny CLI that writes my commit messages from Git diff

https://github.com/saccofrancesco/gitsloth
2•s4ccofr4ncesco•25m ago•0 comments

Welcome to a Multidimensional Economic Disaster

https://www.theatlantic.com/technology/2026/03/ai-boom-polycrisis/686559/
2•fortran77•26m ago•0 comments

I Vibe-Coded an Agent and Didn't Know What It Couldn't Do

https://www.noemica.io/blog/vibe-coded-agent
2•SebastianSosa•26m ago•0 comments

I Built a Public RAG App for Chicago Budget Documents

https://www.devinthakker.com/blog/chicago-budget-rag
1•devinthakker•29m ago•0 comments

Depression is linked to a pessimistic bias, not a realistic view of the world

https://www.psypost.org/depression-is-linked-to-a-genuine-pessimistic-bias-rather-than-a-realisti...
1•RickJWagner•29m ago•0 comments

Teenage Engineering's PO-32 acoustic modem and synth implementation

https://github.com/ericlewis/libpo32
1•ericlewis•29m ago•0 comments

Google Turbo Quant Powered Local LLMs

https://atomic.chat/
2•novateg•31m ago•0 comments

Cybersecurity stocks fall on report Anthropic is testing a powerful new model

https://www.cnbc.com/2026/03/27/anthropic-cybersecurity-stocks-ai-mythos.html
3•pseudolus•38m ago•0 comments

Forensic Scientist Dr. Henry C. Lee Dies

https://www.newhaven.edu/news/releases/2026/in-memoriam-henry-lee.php
1•caonidaye•38m ago•1 comments

How much more will oil prices have to go up?

https://marginalrevolution.com/marginalrevolution/2026/03/how-much-more-will-oil-prices-have-to-g...
1•paulpauper•38m ago•0 comments

Iranian hackers obtained and leaked personal Gmail of ex-FBI Director Cash Patel [video]

https://www.youtube.com/watch?v=AlM0vylK_r8
1•exec01•42m ago•0 comments

Brent Price Now – Free AI oil market insights and email price alerts

https://brentpricenow.top/price-alerts
4•trendbuilder•42m ago•1 comments

The Terrarium

https://www.lesswrong.com/posts/znbfRXHq285nS7NAh/the-terrarium
2•cubefox•46m ago•0 comments

Brad Feld – Nothing New to See Here

https://feld.com/archives/2026/03/nothing-new-to-see-here/
2•rmason•48m ago•0 comments

Whisper AI Local Mac Setup

https://www.yaps.ai/blog/whisper-ai-local-mac-setup
1•RichAwo•49m ago•0 comments

What If Your TV Keyboard Disabled Impossible Letters?

https://www.joey.fyi/blog/tv-search-keyboard
3•rpst•50m ago•1 comments

GitHub has been sending me an email every two seconds.

3•colonelspace•50m ago•0 comments

Iran Is Not Venezuela – and Nobody in the White House Seems to Know That

https://pharaoh-mina-newsletter.beehiiv.com/p/iran-is-not-venezuela-and-nobody-in-the-white-house...
2•ndsipa_pomu•53m ago•3 comments

Don't YOLO your file system

https://jai.scs.stanford.edu/
9•mazieres•54m ago•4 comments

Turning multiple Claude Code sessions into a peer to peer network

https://github.com/prassanna-ravishankar/repowire
2•nomadic-coder•55m ago•1 comments

Drone Warfare Has Come to the United States

https://nationalinterest.org/feature/drone-warfare-has-come-to-the-united-states
3•davikr•56m ago•1 comments

/Jailbreak-University Codex/Claude Code Skills to Jailbreak College

https://github.com/jdcampolargo/jailbreak-university
1•jdcampolargo•59m ago•0 comments