# Select
We used selects from element-ui but restyled them with a light look. To use selects, simply import them from element-ui
import {Select, Option} from 'element-ui'
1
Global usage
Vue.use(Select)
Vue.use(Option)
1
2
2
For local usage
export default {
components: {
[Select.name]: Select,
[Option.name]: Option
}
}
1
2
3
4
5
6
2
3
4
5
6
Note You have to specify a select-{type}
class for
the select
and option component
so the style matches the overall kit style
# Single select
# Multi select
# Available custom css classes for select.
Class |
---|
select-default |
select-primary |
select-info |
select-success |
select-warning |
select-danger |
For props, slots & events, please check element ui docs
← Radio buttons Slider →