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.

Generative Dynamic Gaussian Reconstruction from Monocular Video

https://research.nvidia.com/labs/amri/projects/world-from-motion/
1•ilreb•1m ago•0 comments

What Did Hubble See on Your Birthday?

https://science.nasa.gov/mission/hubble/multimedia/what-did-hubble-see-on-your-birthday/
1•sohkamyung•13m ago•0 comments

Shader Benchmark for LLMs

https://nbardy.github.io/shader_benchmark/
1•nbardy•23m ago•0 comments

OpenAI proposes handing Trump administration 5% stake

https://www.ft.com/content/7c803eab-8e80-4431-9a87-e943bf00e00b
3•enraged_camel•24m ago•0 comments

SpaceX reportedly working on an AI phone

https://www.theverge.com/science/960442/spacex-phone-prototype-elon-musk
1•mandeepj•26m ago•1 comments

Delivery Optimization for Browser and Software Updates to Minimize Bandwidth

https://inavoyage.blogspot.com/2026/07/delivery-optimization-for-browser.html
1•initramfs•27m ago•0 comments

Kenneth Bulmer

https://en.wikipedia.org/wiki/Kenneth_Bulmer
2•petethomas•28m ago•0 comments

GameBoy Emulator on ESP32 and eInk [video]

https://www.youtube.com/watch?v=oPbOK90aJEo
1•yboris•29m ago•0 comments

Book Prizes Don't Work How You Think

https://rebeccamakkai.substack.com/p/book-prizes-dont-work-how-you-think
1•samclemens•30m ago•0 comments

JavaScript library for rapid AI and XR prototyping

https://github.com/google/xrblocks
1•arbayi•34m ago•0 comments

OpenAI proposes handing Trump administration 5% stake

https://www.reuters.com/business/openai-proposes-handing-trump-administration-5-stake-ft-reports-...
2•tristanj•35m ago•0 comments

Smoothie – compile a folder of data into a cited artifact agents can query

https://github.com/4tyone/smoothie
1•MelsHakobyan•38m ago•1 comments

Web Apps for Meta Ray-Ban Display Glasses

https://wearables.developer.meta.com/docs/develop/webapps/build/
2•arbayi•39m ago•0 comments

I hacked this temu camera. what I found should be illegal. [video][8 mins]

https://www.youtube.com/watch?v=RuqQR_R-dEQ
2•Bender•40m ago•0 comments

Show HN: Claude Desktop Switcher for separating the whole Claude Desktop suite

https://matsumotory.github.io/claude-desktop-switcher/
2•matsumotory•41m ago•0 comments

Kimi K2.7 Code is generally available in GitHub Copilot

https://github.blog/changelog/2026-07-01-kimi-k2-7-is-now-available-in-github-copilot/
4•unliftedq•42m ago•0 comments

Show HN: Margarita - Programming language for Agents using Markdown-ish syntax

https://www.margarita.run
2•margarita_dev•43m ago•0 comments

US reportedly mulls pulling troops from Saudi Arabia as ties sour over Iran war

https://www.timesofisrael.com/us-reportedly-mulls-pulling-troops-from-saudi-arabia-as-ties-sour-o...
1•koolhead17•46m ago•0 comments

Herdr: One terminal to rule them all

https://herdr.dev/
1•handfuloflight•46m ago•0 comments

Microsoft/Flint-Chart

https://github.com/microsoft/flint-chart
1•geoffbp•47m ago•0 comments

Society of Saint Pius X

https://en.wikipedia.org/wiki/Society_of_Saint_Pius_X
2•febed•48m ago•0 comments

Can solar and wind and batteries provide 24/7/365 electricity?

https://unpopular-truth.com/2026/06/19/can-solar-and-wind-batteries-really-provide-24-7-365-elect...
2•dpraburaj•48m ago•0 comments

Show HN: A complete AI agency at your fingertips

https://github.com/msitarzewski/agency-agents
1•adithyaharish•52m ago•0 comments

Chemurgy

https://en.wikipedia.org/wiki/Chemurgy
2•petethomas•52m ago•0 comments

State of X402 – Independent Audit – Every Faciliator, Every Chain

https://x402stats.io
1•pro_methe5•53m ago•0 comments

Zig - All Package Management Functionality Moved from Compiler to Build System

https://ziglang.org/devlog/2026/?2026-06-30#2026-06-30
3•Retro_Dev•56m ago•0 comments

Ask HN: What are you building first with Fable?

4•akashwadhwani35•1h ago•2 comments

Trump's plan to redesign every .gov website leads to AI-designed horrors

https://arstechnica.com/tech-policy/2026/06/trumps-plan-to-redesign-every-gov-website-leads-to-ai...
2•duxup•1h ago•1 comments

Understanding Why Language Models Hallucinate: Testing Reasoning Against Priors

https://neohughus.github.io/Understanding_Why_Language_Models_Hallucinate/
1•ilreb•1h ago•0 comments

Who Shuts Down the Internet the Most?

https://pulse.internetsociety.org/en/shutdowns/
2•Bender•1h ago•0 comments