Skip to content

Proposal: web-components distribution #154

@AndreyYolkin

Description

@AndreyYolkin

Note

TLDR: Add new package shipping our components as Web Components

Goal
To make our UI components work in any project - whether it's React, Angular, or plain HTML-by distributing them as standard Web Components

Why do this?

  • Works Everywhere: Our components won't be locked into a single framework.
  • No Style Conflicts: Styles are isolated, so they won't break the rest of the website.
  • Easy Integration: Other teams can use our components just like regular HTML tags.

How it works
We will use Vue 3, which has built-in support for this. By using the defineCustomElement feature, we can easily turn our Vue components into standard Web Components that any browser can understand. We might ship them under different package name (TBD)

Key Benefits

  1. Shared Library: One set of components for all teams, regardless of their tech stack.
  2. Fast & Light: Components run natively in the browser.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions