Skip to content

Struggling using carbon svelte as exported WebComponents. #1238

Answered by metonym
DZFLUX asked this question in Q&A
Discussion options

You must be logged in to vote

I haven't worked with using Svelte in conjunction with web components. To be honest, I don't think Carbon Svelte is viable for use as web components.

One of the biggest restrictions is that camel case props are not supported (e.g., iconDescription). Supporting web components has been proposed a couple of times: #467 #507

I would recommend looking at https://github.com/carbon-design-system/carbon-web-components for a native solution.

To anyone reading this thread: please chime in if you think otherwise.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DZFLUX
Comment options

Answer selected by DZFLUX
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