Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [svelte]

Svelte is a component framework — like React or Vue. On-topic questions include code using Svelte and how to configure it and use it in your javascript pipelines.

Filter by
Sorted by
Tagged with
1 vote
0 answers
41 views

Svelte - Modal window with dark background and appear/disappear animations

I created this code in Svelte which will show a modal and remove it when the background is clicked, based on a native JavaScript implementation I wrote earlier. In the *.svelte files, I put the focus ...
musava_ribica's user avatar
1 vote
0 answers
114 views

Custom web component using Svelte (a "tabs" component)

I am developing a custom reusable web component using Svelte (a "tabs" component), I would like to know is my code is idiomatic Svelte and also any suggestion for improvement is welcome. ...
Serge Hulne's user avatar
1 vote
1 answer
371 views

adding characters on mouseover using Svelte

This is my first time using svelte. I am also using tailwind and astro but that is irrelevant. The following component prepends >> to my text when it is ...
Anm's user avatar
  • 141
1 vote
1 answer
471 views

Awaited store for Svelte

In my Svelte app, I need to reactively fetch data from the server and then render the result. The ideal data struture for this is a store whose values are promises – eg. like this: ...
m93a's user avatar
  • 296
4 votes
0 answers
163 views

HSL Guessing Game in Svelte

The objective of the game is to guess the hue, saturation, and lightness values of a given color swatch across ten rounds. https://github.com/shreyasminocha/guess-the-hsl https://guess-the-hsl.now.sh ...
shreyasminocha's user avatar