3.0.0 • Published 5 years ago

svelte-color-well v3.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

svelte color well

A color picker.

Install it

npm i svelte-color-well

Use it

<script>
  // import it to your component/app
  import ColorWell from 'svelte-color-well'

  // your color
  let yourColor
</script>

<!-- use the component initializes with a random color -->
<ColorWell/>

<!-- initialize color and use rbg sliders -->
<ColorWell
  color='red'
  type='rgb'
/>

<!-- bind color to variable -->
<ColorWell bind:color={yourColor} />

<!-- see it in action -->
<h1>{yourColor}</h1>

TODO

  • text input
3.0.0

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.6

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago