Skip to content
Devix Open Source

Playground

Turn the options and watch it change. The code below changes with it, in whichever framework you are using — copy it and you have what is on the screen.

Live
import { createSelect } from '@devix-labs/select';
import '@devix-labs/select/styles.css';

createSelect(document.querySelector('#target'), {
  placeholder: 'Choose a country',
  multiple: false,
  tags: false,
  creatable: false,
  searchable: true,
  clearable: true,
  hideSelected: false,
  closeOnSelect: true,
  disabled: false
});

Every option here is in the documentation, along with the ones that are not worth a control.