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.

Data centre debate heats up ahead of US midterms

https://www.bbc.com/news/articles/cq2e9we7w2ejo
2•Betelbuddy•5m ago•0 comments

Recycling ANSI art: Tracing the origins of Fire Escape's BBS logon screens

https://breakintochat.com/blog/2026/10/25/recycling-ansi-art/
2•Kirkman14•5m ago•1 comments

Show HN: Little Fun Games – daily trivia with uncommon-answer scoring

https://littlefungames.com/
1•littlefungames•7m ago•0 comments

Grokking: A 777-Parameter Transformer Learned Real Math

https://themenonlab.blog/blog/grokking-777-parameter-transformer
2•peter_d_sherman•17m ago•0 comments

iPhone Duo Teardown

https://www.ifixit.com/News/119895/iphone-duo-teardown
3•kripy•21m ago•0 comments

Cve.now: A Free Feed of Security Vulnerabilities for Agents

https://www.sazabi.com/blog/introducing-cve-now
1•shcallaway•25m ago•0 comments

Please Don't Mess with Links

https://maurycyz.com/misc/real_links/
2•birdculture•28m ago•0 comments

Scientists Discover a Surprising Shortcut to Nuclear Fusion

https://scitechdaily.com/scientists-discover-a-surprising-shortcut-to-nuclear-fusion/
1•g-b-r•29m ago•0 comments

Drone warfare is evolving faster than armies can adapt

https://www.thestar.com/news/canada/drone-warfare-is-evolving-faster-than-armies-can-adapt-expert...
1•sleepyguy•30m ago•1 comments

Show HN: Freehire, open-source search 3M+ tech jobs from company career boards

https://freehire.me/
1•i_strelov•30m ago•0 comments

Show HN: Depono – Chat with many AI models at cost and 10%, files kept in Git

https://depono.xyz/
1•saxonnicholls•32m ago•0 comments

Show HN: RainbowSay – Learn, teach, research languages live with shows you love

https://rainbowsay.ai/
1•gigapotential•36m ago•0 comments

Bringing Flame Serving Close to Standalone vLLM

https://xflops.io/blog/flame-vllm-serving/
1•k82cn•38m ago•0 comments

Removing Next.js Got My Blog to 100 on Every Lighthouse Category

https://korindiehacker.bloffy.blog/en/removing-nextjs-got-my-blog-to-100-on-every-lighthouse-cate...
1•textlanes33•41m ago•0 comments

Setup Home Lab Static Website: Rasp Pi, Astro, Nginx Proxy Mgmt, Cloudflare

https://blog.jacq.cc/guides/static-blog-raspberry-pi-nginx-proxy-manager-cloudflare/
1•xx__yy•43m ago•0 comments

Ask HN: Is it not possible to enroll for Apple Developer anymore?

2•olalonde•43m ago•0 comments

Coding Is Dead. Programming Is Not

https://twitter.com/jay4fun_/status/2114522024387269032
1•jairojair•45m ago•0 comments

Learning to Ride Your Brain

https://contraptions.venkateshrao.com/p/on-learning-to-ride-your-brain
2•colinprince•47m ago•0 comments

Survival Ball versus Mode Explained: Everything You Need to Know [video]

https://www.youtube.com/watch?v=A-aIvcJqgDQ
1•lopespm•53m ago•0 comments

Trump critic Lula wins reelection in Brazil, securing fourth presidential term

https://apnews.com/article/brazil-election-lula-bolsonaro-runoff-vote-president-e2c9fe8fc4aa3e367...
2•kaycebasques•56m ago•0 comments

Has PAUSE account registration slowed down recently?

https://www.nntp.perl.org/group/perl.modules/2026/10.html
1•viasnake•56m ago•0 comments

Dua Lipa's Manifesto Library

https://www.banned-books.org/dua-lipa-manifesto-library
1•weinzierl•59m ago•0 comments

CORDIC

https://en.wikipedia.org/wiki/CORDIC
1•gregsadetsky•1h ago•0 comments

One gateway for your AI agents, APIs and MCP servers

https://github.com/Clivern/Sloth
1•clivern•1h ago•0 comments

A Study of the Last Two Weeks

https://phillipspobrien.substack.com/p/weekend-update-208-trump-reacts-to
1•JumpCrisscross•1h ago•0 comments

They Fled Trump's America. Now They Regret It

https://www.wired.com/story/they-fled-trumps-america-now-they-regret-it/
5•mooreds•1h ago•1 comments

Lula wins election after final votes tallied

https://www.reuters.com/live/brazil-election-live-lula-bolsonaro-face-off-presidential-runoff-202...
137•laurenth•1h ago•85 comments

Birth control pills do not alter women's preferences for masculine faces

https://www.psypost.org/birth-control-pills-do-not-alter-womens-preferences-for-masculine-faces/
2•gradus_ad•1h ago•0 comments

Lula Wins Brazilian Election

https://resultados.tse.jus.br/oficial/app/index.html#/eleicao/6258/uf/br/cargo/1/vis/nominal/resu...
59•JumpCrisscross•1h ago•18 comments

Software is slow because of bad design, not slow languages

https://www.seangoedecke.com/software-is-slow-because-of-bad-design-not-slow-languages/
1•signa11•1h ago•1 comments