Code: https://github.com/carbon-design-system/carbon-components-svelte
Document: https://carbon-components-svelte.onrender.com
Questions tagged [carbon-components-svelte]
9 questions
3
votes
1 answer
How to add a left panel right next to a component using carbon components?
I have a Sveltekit app and for my home route I want to display a table based on carbon components. I want to filter the data displayed in the table by adding a left panel right next to the table. I'm basically looking for their example
but I don't…

baitendbidz
- 187
- 3
- 19
1
vote
1 answer
How to access the cells display text ( instead of value ) inside a Carbon DataTable?
I have a Sveltekit project using Carbon components. Given an example table based on objects { title: string; priceInEuros: number | null; link: string; } that should display the following
Price column, sortable, with german locale
Title column with…

baitendbidz
- 187
- 3
- 19
1
vote
1 answer
How do I prevent stylesheets imported for svelte carbon components to be applied globally?
I want to use the DatePicker from carbon-components-svelte, unfortunately, the styles from carbon-components are applied globally and some of my own styles break.
According to carbon-components-svelte documentation "you can reduce the size of the…

A.G
- 13
- 4
1
vote
1 answer
In carbon-components-svelte TreeView: how to share the tree on multiple route pages?
I added the TreeView in __layout.svelte, and on:select I use svelte's goto() to jump to a path defined for the selected id.
But there are several issues:
If I pass the url of a sub page on the tree, the left tree can't be selected correctly, it…

Eric
- 22,183
- 20
- 145
- 196
0
votes
1 answer
Use carbon-components-svelte without internet access Fonts issue
I am using this component to build a GUI and automatically download all fonts from https://1.www.s81c.com, but in my scenario the GUI should be standalone an from where is running, there is not internet access, so is not able to download those…

cralfaro
- 5,822
- 3
- 20
- 30
0
votes
1 answer
Javascript apparently not working when working with Svelte Kit and Carbon components svelte UI library
After failing to implement svelte kit with carbon components myself, I copied the example from the project github examples folder. Now importing base carbon components works, but they are not interactive. For example the DatePicker widget should…

Jan Cahlík
- 91
- 6
0
votes
2 answers
How to create a footer below the main content?
I'm using carbon components for Svelte and would like to know how I can add a footer to the bottom of the page