Posts with #webComponents

#webComponents

Public posts on X that use #webComponents.

Related hashtags

  1. WebComponents.dev@webcomp_dev
    📢 New! All the Ways to Make a Web Component - November 2021 Edition! 🤯 59 Web Components compared ⌨️ Code styles 📊 Bundle sizes 🏎️ Performance 🤩 All-in-one article! 👉 #thread 🧵👇 #webcomponents #webdev
    42047
  2. Passle@passle_
    Re: this I recently needed a bunch of these components for an app, so I put together a quick repo of accessible, easy to use, native web components (no frameworks/libs). So here's generic-components: #webcomponents #a11y #js #vanilla
    Download
    Passle @passle_
    I still havent seen many good, simple(!), accessible, extensible, zero dep(!) libraries of web components for 'simple' things that are so common like a toggle switch (std switch, anyone?), or accordion, or etc. Theres many novelty components like a 'blink' or whatever.
    52392
  3. Passle@passle_
    I still havent seen many good, simple(!), accessible, extensible, zero dep(!) libraries of web components for 'simple' things that are so common like a toggle switch (std switch, anyone?), or accordion, or etc. Theres many novelty components like a 'blink' or whatever.
    507
  4. Lea Verou, PhD✓@LeaVerou
    The #StateOfHTML 2023 results are finally out! Enjoy insights from 22K responses about the state of the web platform, from HTML and interactivity to #webcomponents, PWAs, and a lot more. This project is a monumental effort from people across the world. We even designed novel data collection UIs to gather the data we needed while minimizing friction, which I plan to write a case study about soon.
    4289520.9K
  5. straversi@straversi1
    A UI component we distribute is implemented as a web component. This is proving to be a critical decision. We have a new client on a WooCommerce LAMP stack, and our component works out-of-the-box for them. Web components work everywhere == engineering hours saved! #webcomponents
    41587
  6. Lea Verou, PhD✓@LeaVerou
    Once again I’m in the same #webcomponents crossroads I’ve been many times before. My component (an editable <color-swatch> if you need to know) has an <input>. Ideally the input should be styled like other inputs on the page and be able to participate in form submission. Options: 1. Use shadow DOM like I’m supposed to: - Default UA styling. Can manually pull in all stylesheets from all parent roots to adopt the page’s <input> styling. - needs me to replicate the whole HTMLInputElement interface and use ElementInternals for it to work properly w/ form submission. Both tedious AF. 2. Use shadow DOM + a slot, authors can slot in their own <input> for its style to match the page or for form submission. - Now my CSS needs to account for *both* shadow DOM inputs *and* light DOM inputs. - Any styles set on the light DOM version have lower specificity than even a plain input selector. 3. I require authors to BYOE, i.e. slot in their own input at all times. This becomes their opt-in to editability. Tedious DX for authors. 4. We *only* do slotted light DOM input, and if one is not provided, we generate it and add the proper slot attribute to it. Main downside here seems to be theoretical purity, so it may actually be the lesser of four evils. But damn that’s a crappy set of choices. :/
    1757419K
  7. Ben Delarre - @[email protected]@BenDelarre
    #webcomponents in space! SpaceX have confirmed the use of Web Components in the Chromium base UI onboard Crew Dragon! They've come a long way since we first started using them on the UI almost 5 years ago now. Checkout the SpaceX reddit AMA:
    8272791
  8. Open Web Components@OpenWc
    We're happy to announce our new eslint plugin: eslint-plugin-lit-a11y Accessibility linting for your lit-html templates, right in your IDE! Catch those a11y mistakes early, and ensure a good experience for _all_ users 🎈 #lithtml #webcomponents #a11y
    Download
    239105
  9. Show more posts