Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate Designsystemet web components #3306

Open
mimarz opened this issue Mar 4, 2025 · 1 comment
Open

Investigate Designsystemet web components #3306

mimarz opened this issue Mar 4, 2025 · 1 comment

Comments

@mimarz
Copy link
Collaborator

mimarz commented Mar 4, 2025

Investigate and set the premise of what the Designsystemet web components are going to be (and not).

Make a blog post about our findings and approach

Notes

  • State of web components
  • Explain why we won't make web components for all components
  • Code convention for making web-components
  • Testing, linting, formating etc.
  • Which components do we see as web-component candidates
@hallvard
Copy link

hallvard commented Mar 6, 2025

A comment from the side here: As you say, not all elements need be web components, as some don't need the abstraction and encapsulation (of logic and structure) that web components provide. The simple ones can be just HTML + CSS. As a library user, it doesn't really make much difference, since web components look like plain HTML and are supported natively by the browser. So why not just create one version of Designsystemet called browsernative or something similar, and make a note of which components are actually web components. The important point for the developer (library user) is that using this version doesn't imply having to use a specific framework.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🔵 Inbox
Development

No branches or pull requests

2 participants