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.

Markdown Is Not LaTeX

https://www.iconoclasts.blog/joe/markdown-is-not-latex
1•joesuf4•1m ago•0 comments

Collabora and Flipper: Opening Up the RK3576

https://www.collabora.com/news-and-blog/news-and-events/collabora-flipper-opening-up-the-rk3576.html
1•anikoghosyan•6m ago•0 comments

Strategic Thinking

https://candost.blog/newsletter/mediations-38/
1•mooreds•7m ago•0 comments

We reduced a real Node.js production Docker image from 1.2GB to 78MB

https://the-practical-developer.online/posts/docker-image-from-1gb-to-80mb/
2•milkikomasiko•9m ago•0 comments

Stripe's John Collison on How Agentic Commerce Will Reshape the Internet [video]

https://www.youtube.com/watch?v=QhGqLqCzFac
1•mooreds•10m ago•0 comments

Ricardo: On Machinery (1817)

https://www.marxists.org/reference/subject/economics/ricardo/tax/ch31.htm
1•mooreds•10m ago•0 comments

Laravel Lang packages hijacked to deploy credential-stealing malware

https://www.bleepingcomputer.com/news/security/laravel-lang-packages-hijacked-to-deploy-credentia...
1•sbulaev•11m ago•0 comments

Ask HN: How to learn how to develop real time applications?

1•creatorcoder•11m ago•0 comments

The "Single Pane of Glass" Is Dead – What Network Teams Need Is Intelligence

https://www.kentik.com/blog/the-single-pane-of-glass-is-dead-what-network-teams-actually-need-is-...
1•oavioklein•14m ago•0 comments

CodeShot – Web screenshots,scraping, and link previews for AI agents

https://drmadmeow.up.railway.app/
1•edowamba•15m ago•0 comments

Tesla now calls FSD 'Tesla Assisted Driving' in China – a more truthful name

https://electrek.co/2026/05/23/tesla-now-calls-fsd-tesla-assisted-driving-in-china-a-more-truthfu...
3•breve•16m ago•1 comments

Anthropic blames dystopian sci-fi for training AI models to act "evil"

https://arstechnica.com/ai/2026/05/anthropic-blames-dystopian-sci-fi-for-training-ai-models-to-ac...
3•rbanffy•19m ago•2 comments

Moment SpaceX rocket explodes in the Indian Ocean after splashdown

https://www.bbc.co.uk/news/videos/c1728ypp15no
1•ColinWright•20m ago•0 comments

The Next Level of Software Abstraction

https://gpeake.com/blog/abstraction
1•gepeake•22m ago•0 comments

Agentic Compilation: Reducing LLM Rerun Costs

https://arxiv.org/abs/2604.09718
1•rebekkamikkoa•25m ago•0 comments

Show HN: World Cup 2026 free family and friends prediction platform

https://wc-2026-predictions.vercel.app
1•belev•25m ago•0 comments

Destiny 2's Final Update

https://www.bungie.net/7/en/News/Article/d2_may_21_2026
1•azhenley•30m ago•0 comments

Jury clears Boeing in 737 MAX fraud lawsuit

https://www.reuters.com/world/jury-clears-boeing-737-max-fraud-lawsuit-2026-05-23/
3•josephwegner•34m ago•1 comments

Megalodon Mass GitHub Actions Secret Exfiltration Across 5500 Public Repos

https://www.stepsecurity.io/blog/megalodon-mass-github-actions-secret-exfiltration-across-5-500-p...
2•_____k•34m ago•0 comments

The Steinwinter Supercargo

https://www.thedrive.com/article/12603/the-forgotten-steinwinter-supercargo-is-unlike-anything-on...
1•itronitron•37m ago•0 comments

Duolingo's CEO says he backtracked on evaluating AI use in performance reviews

https://www.businessinsider.com/duolingo-ai-performance-reviews-ceo-backtracked-2026-4
1•theanonymousone•38m ago•0 comments

Giving the ZX Spectrum a Fair Shake

https://bumbershootsoft.wordpress.com/2026/05/23/giving-the-zx-spectrum-a-fair-shake/
2•wicket•39m ago•0 comments

The HTML-in-Canvas API [video]

https://www.youtube.com/watch?v=TUtKGTeFWjQ
1•tambourine_man•45m ago•0 comments

Philanthropy for Radicals

https://dissentmagazine.org/online_articles/philanthropy-for-radicals/
1•andsoitis•45m ago•0 comments

Show HN: AgentLens – see if your AI features work, per customer

https://agentlens-demo-omega.vercel.app
1•MMEHTA22•46m ago•0 comments

Kimi Is Quietly Beating Everyone – The Engineer Behind Agent Swarm Reveals Why

https://twitter.com/kirillk_web3/status/2057528102368977328/video/1
1•bchelli•53m ago•0 comments

Software Engineering at the Tipping Point

https://io.google/2026/explore/workshop-2
12•michaelchisari•56m ago•25 comments

A self-powered computer in actual credit-card size (~1mm thick)

https://old.reddit.com/r/electronics/comments/1td7yxl/i_built_a_fully_selfpowered_computer_in_act...
8•gnabgib•58m ago•0 comments

Show HN: I turned my dev stack into an alien planet ruled by my dog

https://bkawa-bot.github.io/planet-maiko/
7•bkawa-bot•1h ago•1 comments

Health Concerns Are Powering a Solar Backlash

https://www.propublica.org/article/michigan-solar-farms-health-concerns-st-clair-county
3•worik•1h ago•1 comments