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.

Everything's Fine. (2024)

https://arxiv.org/abs/2403.19891
1•hamburgererror•15s ago•0 comments

UK to ban social media for under-16s, following Australia's model

https://www.gov.uk/government/news/social-media-to-be-banned-for-under-16s-in-landmark-government...
1•chrishawes•2m ago•0 comments

AI Study Tools: A Comparison of Flashcard and Spaced Repetition Apps

https://longtermemory.com/b/ai-study-tools-comparison-2026/
1•aledevv•2m ago•0 comments

SimpleRelay, self-hosted SMTP relay for apps in a single Docker container

https://relay.mailtoinbox.vip
1•toinbox•2m ago•0 comments

Millions of Lifetimes

https://wilsoniumite.com/2026/06/15/millions-of-lifetimes/
2•Wilsoniumite•4m ago•0 comments

Agentic-fs, a cloud-hosted filesystem for AI agents

https://github.com/vivekkhimani/agentic-fs
1•vivekkhimani•5m ago•0 comments

War Is a Racket

https://en.wikipedia.org/wiki/War_Is_a_Racket
1•simonebrunozzi•5m ago•0 comments

LLM SoccerArena: Which model predicts the 2026 World Cup best?

https://llmsoccerarena.up.railway.app/
1•philipp1234•7m ago•0 comments

Switching to a low-profile split keyboard after years on a TKL

https://www.elimkeys.jp/
1•xingshi0066•7m ago•0 comments

The Ridiculous Engineering of Figma [video]

https://www.youtube.com/watch?v=5t8dh3DSdBk
1•enritarta•10m ago•0 comments

Keir Starmer confirms social media ban for all children under 16

https://metro.co.uk/2026/06/15/keir-starmer-confirms-social-media-ban-children-16-28780800/
2•oneeyedpigeon•10m ago•1 comments

Smooth: A Framework for Turning AI from Interesting to Useful

https://www.spockdataservices.com/blog/smooth-ai-workflow-framework
1•rcshubhadeep•11m ago•0 comments

The Cloudflare for Autonomous AI Agents

https://github.com/tkngate/tkngate
2•kilopalisme•13m ago•1 comments

Anthropic Dispatches Staff to D.C., Racing to Resolve AI Export Restrictions

https://www.wsj.com/tech/ai/anthropic-dispatches-staff-to-d-c-racing-to-resolve-ai-export-restric...
2•thm•15m ago•0 comments

I know I can, but should I? Capability vs. Intent in the AI Goldrush

https://aibuilderseries.substack.com/p/i-know-i-can-but-should-i-capability
1•seantheviking•15m ago•0 comments

Asterinas: A production-grade Linux-compatible alternative kernel

https://asterinas.github.io/
1•yankcrime•16m ago•0 comments

UK Brings in Full Social Media Ban for Under-16s

https://deadline.com/2026/06/uk-social-media-ban-under-16s-x-youtube-tiktok-reddit-1236956163/
4•01-_-•18m ago•0 comments

Inside tech elites’ madcap war against the California billionaire tax

https://sfstandard.com/2026/06/13/billionaire-tax-fight-sergey-brin-chris-larsen-mike-moritz-ron-...
2•thm•18m ago•1 comments

Derbyshire officer investigated for using AI to create evidence in cases

https://news.sky.com/story/derbyshire-police-officer-investigated-for-using-ai-to-create-evidence...
3•01-_-•18m ago•0 comments

Do-the-work instead of proof-of-work, for Git hosting

https://blog.legoktm.com/2026/06/14/do-the-work-instead-of-proof-of-work-for-git-hosting.html
1•rapnie•19m ago•0 comments

Ukraine's Zelenskiy discusses peace talks in call with Trump

https://www.reuters.com/world/europe/ukraines-zelenskiy-discussed-war-diplomacy-call-with-trump-a...
1•Soumya_Max•21m ago•0 comments

Show HN: Canopy – parallel, sandboxed Claude Code sessions on macOS

https://github.com/juliensimon/canopy
1•julsimon•21m ago•0 comments

Proof

https://en.wikipedia.org/wiki/Proof_(play)
1•tosh•23m ago•0 comments

Apple PowerMac G4 – Weapon (1999) [video]

https://www.youtube.com/watch?v=lb7EhYy-2RE
1•DesaiAshu•23m ago•0 comments

You don't need React: creating a minimal UI library

https://pedroth.github.io/?p=post/NoNeedReact
1•pedro_movai•23m ago•0 comments

Building a personal meeting assistant that routes through your existing audio

https://techstackups.com/articles/deepgram-personal-meeting-assistant/
1•ritzaco•23m ago•0 comments

A spy in your pocket? How the UK's on-device nude image blocking could work

https://www.techradar.com/vpn/vpn-privacy-security/a-spy-in-your-pocket-how-the-uks-proposed-on-d...
1•nickslaughter02•24m ago•1 comments

Employees are checking out of AI

https://www.asymptotes.ai/notes/the-self-replacement-crisis
1•spinmaster•25m ago•0 comments

Show HN: TimeZoria – fast way to check and compare time zones

https://timezoria.org/
1•TimeZoriaAI•26m ago•0 comments

Abandoning the indie hacking dream for now (2022)

https://www.tinystruggles.com/posts/abandoning_indie_hacking/
2•mmarian•26m ago•0 comments