Skip to content

Why do we have two Web Components packages? #10697

Answered by kennylam
fterra-encora asked this question in Q&A
Discussion options

You must be logged in to vote

@fterra-encora @carbon/web-components are based off @carbon/react, and follow its lead in design and functional specs. They are a web components version of the React package, that's all. Both of these packages are mostly pure UI components.

@carbon/ibmdotcom-web-components, on the other hand, are components meant to be used for pages on IBM.com only. Its components are more editorial in nature, suitable for product and marketing pages. It also has some global components, such as masthead navigation and the footer. @carbon/web-components is one of its main dependencies.

If you are not building for IBM.com, you will want to use @carbon/web-components. We just recently released the v2 releas…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fterra-encora
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants