frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Framework-agnostic Select and Toast components built with Web Components

1•dgseo•2h ago
Hi HN,

I’ve been working across multiple frontend stacks over the past few years (React, Vue, Angular, etc.), and one recurring frustration kept coming up:

Core UI components like selects and toast notifications get rewritten every time the framework changes.

Even when the behavior and UX are essentially the same, the implementation is tightly coupled to the framework, which makes long-lived UI logic surprisingly fragile.

So I decided to experiment with a different approach: building UI primitives as native Web Components, then optionally wrapping them for frameworks instead of re-implementing them.

As a result, I built two components:

SeoSelect — a production-oriented Select component

Virtual scrolling for large datasets

Multilingual fuzzy search (including Korean, Japanese, and Chinese input patterns)

Keyboard and screen reader accessibility by default

Zero runtime dependencies

SeoToast — a lightweight, framework-agnostic Toast notification component

Multiple positions and animations

Duplicate message grouping

SSR-safe behavior

~10KB gzipped

Both components are implemented as pure Web Components first, with framework wrappers added only where it improves developer experience.

I’m not trying to replace frameworks — this was more about testing whether UI primitives can live outside framework lifecycles while still being practical for real-world applications.

I’d really appreciate feedback from people who have:

Used Web Components in production

Built design systems shared across frameworks

Run into limitations or sharp edges with this approach

Links:

https://www.npmjs.com/package/seo-select

https://www.npmjs.com/package/seo-toast

Happy to answer questions or discuss trade-offs.

Thanks!

Slides: Terminal based Markdown presentation tool

https://github.com/maaslalani/slides
1•gregsadetsky•2m ago•0 comments

Australia's social media ban in chaos as youths flock to Chinese alternatives

https://www.gbnews.com/news/world/australia-social-media-ban-under-16s-china
1•delichon•2m ago•0 comments

Show HN: Track prices and stock on products across 9 major retailers

https://takemymoney.io
2•myfrontpocket•7m ago•2 comments

The Dark and Predatory World of Crypto Casinos

https://www.nytimes.com/interactive/2025/12/09/us/crypto-casinos-gambling-streamers.html
2•Townley•10m ago•0 comments

Show HN: Create multi-voice podcasts with VibeVoice

https://github.com/skorotkiewicz/vibevoice-podcast
1•modinfo•14m ago•0 comments

Why Some AI SaaS Ideas Reach $100M

1•alexdsouzatopg•18m ago•0 comments

Show HN: Rankiwiki – voting-based rankings for small groups

https://rankiwiki.com
1•rankiwiki•19m ago•1 comments

Fop – Filter Orderer and Preener (Rust Edition) for Adblock

https://github.com/ryanbr/fop-rs
1•mp3geek•21m ago•1 comments

Read Something Wonderful

https://readsomethingwonderful.com/
2•snorbleck•22m ago•0 comments

The Hardest Part of Starting a Startup Isn't Code, It Is This

2•suhaspatil101•23m ago•0 comments

Why Self-Driving Cars Still Don't Exist

https://dan.bulwinkle.net/blog/full-self-driving-cars/
1•pilingual•23m ago•0 comments

The Whole App Is a Blob

https://drobinin.com/posts/the-whole-app-is-a-blob/
3•valzevul•28m ago•0 comments

Vibe Coding as 2025 word of the year in Collins dictionary

https://en.wikipedia.org/wiki/Word_of_the_year
1•py4•29m ago•0 comments

Why Florida Crocs Are Thriving Outside a Nuclear Power Plant

https://www.smithsonianmag.com/smart-news/florida-crocs-are-thriving-outside-nuclear-power-plant-...
1•thunderbong•30m ago•0 comments

Broadcom reveals its mystery $10B customer is Anthropic

https://www.cnbc.com/2025/12/11/broadcom-reveals-its-mystery-10-billion-customer-is-anthropic.html
3•indigodaddy•31m ago•0 comments

Show HN: PicPick – AI-powered photo curator using CLIP and face recognition

https://github.com/hardiksondagar/picpick
2•hardiksondagar•34m ago•0 comments

Arborium: Tree-sitter code highlighting with Native and WASM targets

https://arborium.bearcove.eu/
6•zdw•40m ago•0 comments

Show HN: A systems language with runtime reflection and no GC

https://xxml-language.com
1•thatsoulyguy•40m ago•0 comments

Unscii

http://viznut.fi/unscii/
2•Levitating•42m ago•0 comments

Electric vehicle owners face new pay-per-mile tax. What about the environmental?

https://phys.org/news/2025-11-electric-vehicle-owners-pay-mile.html
1•PaulHoule•43m ago•0 comments

Director Rob Reiner dead at 78

https://www.hollywoodreporter.com/movies/movie-news/rob-reiner-dead-harry-met-sally-princess-brid...
3•RickJWagner•43m ago•1 comments

The Generative AI Industry Is Fraudulent, Immoral and Dangerous

https://dianne.skoll.ca/writings/ai-is-bad/
7•pabs3•44m ago•1 comments

The Synchronization Tax

https://www.symmetrybroken.com/the-synchronization-tax/
2•riemannzeta•45m ago•0 comments

Niantic Spatial, Inc

https://www.nianticspatial.com/
1•salkahfi•45m ago•0 comments

How the lives of India's poorest improved in the last 10 years

https://timesofindia.indiatimes.com/toi-plus/business-economy/how-the-lives-of-indias-poorest-imp...
1•ridiculous_leke•46m ago•1 comments

Dark mode is essential, not a design preference

https://seemeplease.com/blog/dark-mode
5•SeeMePlease•50m ago•2 comments

Analog Calendar with LEDs and Switches

https://www.friendlywire.com/projects/analog-calendar/
1•zdw•51m ago•0 comments

Memories of Burger Becky

https://blitter.net/blog/2025/12/14/memories-of-burger-becky/
1•zdw•53m ago•0 comments

Habits That Make a Great Programmer

https://arpitbhayani.me/blogs/better-programmer/
2•daviddada•54m ago•0 comments

Show HN: GPT Prompt from Searchbar – ChatGPT directly from the browser omnibox

https://github.com/ParasKoundal/GPTSearch
1•alohaTool•59m ago•0 comments