# Button
To use the custom button you need to import the custom made component:
import {Button} from 'src/components'
1
Global usage
Vue.component(Button.name, Button)
1
For local usage
export default {
components: {
[Button.name]: Button
}
}
1
2
3
4
5
2
3
4
5
# Colors
Paper Dashboard PRO has changed the predefined button styles from Bootstrap, each serving its own semantic purpose, with a few extras thrown in for more control.
# Style buttons
# Sizes
Fancy larger or smaller buttons? Add size="lg"
or size="sm"
for additional sizes.
# Extra mile
We added extra classes mapped directly to props that can help you better customise the look. You can use regular buttons, filled buttons, right-pulled buttons, buttons that span over the entire given space or plain simple link like buttons. Let's see some examples:
← Breadcrumb Cards →