svelte-perfect-select Svelte Themes

Svelte Perfect Select

Svelte Perfect Select

Svelte Perfect Select

Install

Install using NPM

npm i svelte-perfect-select

Install using YARN

yarn add svelte-perfect-select

How to use

<script>
import Select from 'svelte-perfect-select';

let items = [
  {id:'SL', value:'Sri Lanka'},
  {id:'IND', value:'India'},
  {id:'PAK', value:'Pakistan'}
];
</script>

<body>
<Select options={items} selectSize="larger"/>
</body>

Size Options

SelectSize Font Size
smaller 10px
small 12px
medium 15px
large 18px
larger 20px

Top categories

Loading Svelte Themes