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.

Accessible Math in PDF [video]

https://www.youtube.com/watch?v=yb5QElBAr-Q
1•anewhnaccount2•55s ago•0 comments

The LLVM Compiler Infrastructure

https://cacm.acm.org/federal-funding-of-academic-research/the-llvm-compiler-infrastructure/
1•tosh•2m ago•0 comments

Open source project for evaluating two models on specific task

1•mzubairtahir•5m ago•0 comments

Mir Little Mathematics Library

https://mirtitles.org/2011/06/02/little-mathematics-library/
1•vismit2000•6m ago•0 comments

Show HN: On99 – a no-signup Hong Kong Mark Six checker and stats explorer

https://on99.life/en/lottery
1•alex_foolsmart•9m ago•0 comments

Godot bans "vibe-coded" contributions

https://theguptalog.blogspot.com/2026/07/godot-bans-ai-generated-code.html
2•guptalog•12m ago•0 comments

Show HN: Much – Local-first AI workspace with in-browser Python (WASM) sandbox

1•srinivasthalada•13m ago•0 comments

The bottleneck might be the air in the room

https://blog.mikebowler.ca/2026/07/03/co2-and-decision-making/
1•gslin•13m ago•0 comments

Borrowed Confidence

https://zhavaedhaemaed.substack.com/p/borrowed-confidence
1•vismit2000•17m ago•0 comments

The feature in OxCaml that more languages should steal

https://theconsensus.dev/p/2026/06/27/the-feature-in-oxcaml-more-languages-should-steal.html
1•tosh•20m ago•0 comments

Now at $50M: Ro Khanna "Why I Support a Billionaire Wealth Tax"

https://rokhannausa.substack.com/p/why-i-support-a-billionaire-wealth
1•g42gregory•24m ago•0 comments

OpenClaw just launched an official app for iPhone

https://9to5mac.com/2026/06/29/openclaw-just-launched-an-official-app-for-iphone-details-here/
1•TMWNN•25m ago•0 comments

I Helped Fact-Check the 1619 Project. The Times Ignored Me. (2020)

https://www.politico.com/news/magazine/2020/03/06/1619-project-new-york-times-mistake-122248
1•Tomte•25m ago•0 comments

Help Us Save MeshCore

https://blog.meshcore.io/2026/07/04/help-us-save-meshcore
1•ilreb•27m ago•0 comments

Berikut cara perubahan tiket AGODA

https://drive.google.com/file/d/1jtjTxNKMww-bAiMbr1SqRwrP7Kwn5wk8/view?usp=drivesdk
1•akupadamu•29m ago•0 comments

Bloomberg Terminal Is Ugly and Clunky–Everyone Still Uses It

https://oztalking.com/en/issues/bloomberg-terminal-lock-in
6•haebom•38m ago•1 comments

Alibaba bans Claude Code as a security risk

https://www.scmp.com/tech/big-tech/article/3359375/alibaba-bans-staff-using-claude-code-over-anth...
2•5701652400•43m ago•0 comments

Scientists say they have built a cell from scratch for the first time

https://www.cnn.com/2026/07/01/science/synthetic-cell-research
1•giuliomagnifico•43m ago•0 comments

What Happens When Your Site Goes Down?

https://urlwatch.io/
2•mssblogs•45m ago•0 comments

How AI models would vote in Sweden

https://www.nordan.ai/research/which-swedish-party-do-llms-vote-for
2•urvader•46m ago•1 comments

California Bans 'Sell by' Labels, Hoping to Cut Food Waste

https://www.nytimes.com/2026/07/02/us/california-food-labels-sell-by.html
1•thunderbong•47m ago•1 comments

Movies I've watched. (623 recorded and counting)

https://artconnects.club/u/bora/movies
2•kaizenb•49m ago•3 comments

EOL DR / End-of-Life Disaster Response

https://github.com/potatoqualitee/eol-dr
1•chris_wot•59m ago•0 comments

Heat wave exposes workers to injury and death

https://www.wsws.org/en/articles/2026/07/03/yash-j03.html
1•t-3•1h ago•1 comments

David Beazley – Programming Courses

https://www.dabeaz.com/courses.html
35•gregsadetsky•1h ago•7 comments

Show HN: An Omegle for Day Trading

https://strangertrade.fly.dev/
1•avneh•1h ago•0 comments

Show HN: FinMav – Screen 3,000+ stocks by describing what you want in English

https://www.finmav.ai
1•amanuelse•1h ago•0 comments

2026 Unslop AI-Written Fiction Contest Results (judged by Gwern Branwen)

https://www.hyperstitionai.com/unslop-results
2•networked•1h ago•0 comments

Magit 4.6 Released

https://emacsair.me/2026/07/01/magit-4.6/
1•signa11•1h ago•0 comments

Varela: Neuromancer-inspired 3D self-mutating coding harness

https://github.com/ajensenwaud/varela/
1•hestefisk•1h ago•2 comments