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.

Step by step guide: How to install Microsoft Office in any Linux distribution

https://gist.github.com/eylenburg/38e5da371b7fedc0662198efc66be57b
1•nogajun•32s ago•0 comments

China Wants A.I. To Flourish, but Not at the Expense of Jobs

https://www.nytimes.com/2026/05/19/business/china-ai-unemployment.html
1•tom2026hn•1m ago•0 comments

Node.js TypeScript: The future of –experimental-transform-types

https://github.com/nodejs/typescript/issues/51
1•lioeters•6m ago•0 comments

Can one run AI on source code with the prompt "Find below-avg swear rate files"?

1•pcwir•6m ago•0 comments

TheLounge v4.5.0 released – a modern, self-hosted web IRC client

https://github.com/thelounge/thelounge/releases/tag/v4.5.0
1•MaxLeiter•10m ago•0 comments

Franklin Pierce by David W. Blight

https://inpursuit.substack.com/p/franklin-pierce-by-david-w-blight
1•samclemens•11m ago•0 comments

Alan's ASI Checklist

https://lifearchitect.ai/asi/
1•k2xl•11m ago•0 comments

Why Many Americans Choose Not to Have Children

https://www.nytimes.com/2026/05/12/opinion/letters/birthrates-no-children.html
1•paulpauper•12m ago•0 comments

Font licensing is about to change

https://www.mixfont.com/blog/font-licensing-is-about-to-change
2•justswim•12m ago•0 comments

The AI economy is rewriting the American Dream

https://www.cnbc.com/2026/05/19/ai-hiring-slowdown-skilled-trade-workers.html
2•paulpauper•12m ago•0 comments

Productivity Growth in the U.S. Medical Care Sector [pdf]

https://www.bea.gov/sites/default/files/papers/BEA-WP2026-11.pdf
1•paulpauper•13m ago•0 comments

Starbucks cold plastic cups don't make it to recycling, probe finds

https://www.washingtonpost.com/climate-environment/2026/05/20/starbucks-cold-plastic-cups-dont-ma...
1•reaperducer•13m ago•0 comments

Google accused of pushing 'free for life' G Suite users onto paid plans

https://www.theregister.com/applications/2026/05/19/google-accused-of-pushing-free-for-life-g-sui...
2•nonfamous•14m ago•0 comments

If you can't get a job today, it's your fault

https://auren.substack.com/p/if-you-cant-get-a-job-today-its-your
4•jger15•18m ago•0 comments

Open Weight Music Generation Models Trained on Licensed Data

https://stability.ai/news-updates/meet-stable-audio-3-the-model-family-built-for-artistic-experim...
1•SweetSoftPillow•18m ago•0 comments

Jewish American Security Act requires online platforms to moderate purge content

https://www.lankford.senate.gov/news/press-releases/lankford-rosen-introduce-comprehensive-bipart...
4•qwertyuiop_•19m ago•0 comments

Open AI solves a 1946 Erdős problem

https://twitter.com/openai/status/2057176201782075690
2•bcapchickadee•20m ago•0 comments

The Developer's Guide to AI

https://nostarch.com/developers-guide-to-ai
1•teleforce•22m ago•0 comments

Medieval China's Lost Ocean Empire

https://lostfutures.substack.com/p/chinas-forgotten-maritime-empire
2•Lost-Futures•24m ago•0 comments

Even Claude agrees: hole in its sandbox was real and dangerous

https://www.theregister.com/security/2026/05/20/even-claude-agrees-hole-in-its-sandbox-was-real-a...
2•sbulaev•25m ago•0 comments

Pixel phones running Graphene OS not eligibile for battery replacement program

https://twitter.com/nikolaiG22/status/2057185434208190889
8•notRobot•26m ago•0 comments

Elon Musk's SpaceX initial public offering filing reveals losses

https://www.washingtonpost.com/technology/2026/05/20/elon-musk-spacex-initial-public-offering-fil...
3•reaperducer•27m ago•2 comments

Human Bottlenecks

https://borretti.me/article/human-bottlenecks
3•varjag•27m ago•0 comments

SpaceX IPO Filing Reveals Anthropic Is Paying $15B/Year to Access Data Centers

https://www.wired.com/story/spacex-ipo-anthropic-compute-finances-risks/
4•sbulaev•30m ago•0 comments

A solution for schlep blindness in agentic development for Kubernetes envs

https://metalbear.com/mirrord/ai/
2•ioanarebeca•34m ago•0 comments

Phantom Zone

https://moontower.substack.com/p/phantom-zone
1•kpa325•36m ago•0 comments

Speedcubing extension for Pi coding agent

https://github.com/totimorpa/pi-cubing
1•totimorpa•38m ago•1 comments

We made EU CRA Article 14 compliance free (cvdportal.com)

https://cvdportal.com/blog/why-we-built-cvd-portal
1•Ceravi•41m ago•0 comments

S. "Soma" Somasegar, 1966-2026

https://www.geekwire.com/2026/s-soma-somasegar-1966-2026-microsoft-and-madrona-leader-was-a-champ...
1•lukebennett•41m ago•0 comments

Is this an worse moment for a math career?

https://mathoverflow.net/questions/511484/is-this-an-even-worse-moment-for-a-math-career
2•bananaflag•44m ago•0 comments