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•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.

Robinhood opens platform to AI agents for trading, credit card purchases

https://www.reuters.com/business/robinhood-opens-platform-ai-agents-trading-credit-card-purchases...
1•thm•3m ago•0 comments

Zig: Build System Reworked

https://ziglang.org/devlog/2026/#2026-05-26
1•roflcopter69•3m ago•0 comments

GlassWorm Developer Supply-Chain Botnet Takedown

https://haltingproblems.com/analysis/glassworm-developer-supply-chain-botnet/
1•s4mw1se•4m ago•1 comments

Has pancreatic cancer met its match?

https://worksinprogress.co/issue/the-slippery-protein-problem/
1•surprisetalk•4m ago•0 comments

Why Are so Many Babies Born around 8:00 A.M.? (2017)

https://www.scientificamerican.com/blog/sa-visual/why-are-so-many-babies-born-around-8-00-a-m/
1•helsinkiandrew•5m ago•0 comments

Nuclear Power Startup Newcleo to Go Public in SPAC Deal

https://www.wsj.com/business/energy-oil/nuclear-power-startup-newcleo-to-go-public-in-spac-deal-f...
1•simonebrunozzi•7m ago•1 comments

Utopia: Fluid Responsive Design

https://utopia.fyi/
1•eustoria•8m ago•0 comments

Placebo Jobs (and five stages of labor)

https://twitter.com/notevenwrongg/status/2059622561785250141
1•georgestrakhov•8m ago•0 comments

Avoid Hasty Caching

https://www.jakeworth.com/posts/avoid-hasty-caching/
1•jwworth•9m ago•0 comments

Nostr VPN: VPN without accounts

https://nostrvpn.org/
1•eustoria•11m ago•0 comments

Show HN: GitShare – Turn GitHub repos into beautiful social media screenshots

https://gitshare.ch/
1•dimiprasakis•11m ago•0 comments

Many portions of Magnifica Humanitas appear to be AI-written

https://www.lesswrong.com/posts/GbWwesBnetyiomxEH/many-portions-of-magnifica-humanitas-appear-to-...
1•dev_hugepages•12m ago•0 comments

Cramér-Rao Bound

https://en.wikipedia.org/wiki/Cram%C3%A9r%E2%80%93Rao_bound
1•hasley•13m ago•1 comments

Steam and valve lost controle about cs2

https://pdfearn.blogspot.com/2026/05/get-100-approved-adsense-unsaturable.html
1•iLzKiiSG•13m ago•0 comments

Latency Numbers Every Programmer Should Know (2026)

https://gist.github.com/jboner/2841832
1•andromaton•14m ago•1 comments

Show HN: Game Boy pixel pipeline explorer

https://pixelpipeline.xyz
3•blueblazin•15m ago•0 comments

Chaoss Metrics in 2026

https://nesbitt.io/2026/05/27/chaoss-metrics-in-2026.html
1•jamietanna•16m ago•0 comments

Athletes at the Enhanced Games were bigger, but not better

https://www.theatlantic.com/culture/2026/05/enhanced-games-sports-doping/687296/
2•FinnLobsien•16m ago•1 comments

TheWire13 is a TCP/IP stack for classic Amiga systems running AmigaOS 1.3

https://aminet.net/package/comm/tcp/TheWire13
1•doener•16m ago•0 comments

UFC arena under construction on White House lawn

https://www.npr.org/2025/09/08/nx-s1-5526066/leni-riefenstahl-nazi-filmmaker-new-documentary
3•KnuthIsGod•17m ago•0 comments

Deep Habits: WorkingMemory.txt

https://calnewport.com/deep-habits-workingmemory-txt-the-most-important-productivity-tool-youve-n...
1•piinbinary•17m ago•0 comments

How to build a lunar mass driver

https://caseyhandmer.wordpress.com/2026/05/08/how-to-build-a-lunar-mass-driver/
1•surprisetalk•19m ago•0 comments

Go errors are a story, most teams lose the plot

https://robinsiep.com/blog/posts/go-errors/
1•seeb•19m ago•0 comments

GitHub Incident Again

https://www.githubstatus.com/?now
1•robeym•20m ago•2 comments

LiteSpeed CPanel Plugin with Root Privilege Escalation Under Active Exploitation

https://haltingproblems.com/analysis/litespeed-cpanel-plugin-cve-2026-48172/
2•s4mw1se•24m ago•0 comments

Pushover: Simple Notifications for Android, iPhone, iPad, and Desktop

https://pushover.net/
1•janandonly•24m ago•0 comments

AI is not the answer to AI-enabled fraud

https://www.codastory.com/oligarchy/ai-is-not-the-answer-to-ai-enabled-fraud/
1•cdrnsf•24m ago•0 comments

Show HN: Map drawing tool where the map lives in the URL

https://drawonamap.com/
4•singiamtel•25m ago•0 comments

Revenge of the Business Idiot

https://www.wheresyoured.at/the-revenge-of-the-business-idiot/
2•frizlab•26m ago•0 comments

Tiny GPT in Go. Optimised for Understanding. Trained on Jules Verne Books

https://github.com/zakirullin/gpt-go
2•asdfjsjj2342•28m ago•0 comments