# Date Pickers
We have created a date picker starting from the element-ui date picker. We have changed the colours, typography and buttons, so it can look like the rest of the dashboard.
Please check out date-picker docs for detailed info as well as ExtendedForms.vue page to see some examples. Below is a very simple example
import {DatePicker} from 'element-ui'
1
Global usage
Vue.use(DatePicker)
1
For local usage
export default {
components: {
[DatePicker.name]: DatePicker
}
}
1
2
3
4
5
2
3
4
5
# Date picker with shortcuts
:::tip
Wrap the date-picker in a fg-input
component in order to have an input similar to the ones in the dashboard
:::
# Now UI styled date picker
For props, slots & events, please check element ui docs