blob: 795c837ac60776d3191460be56dc69e746dccb23 [file] [log] [blame]
Derick Montague3f6710a2020-03-04 00:59:47 -06001<template>
2 <div>
3 <h3 class="h4">Enabled</h3>
4 <b-button variant="primary">Primary</b-button>
5 <b-button variant="primary">
6 <icon-add />
7 <span>Primary with icon</span>
8 </b-button>
9 <b-button variant="secondary">Secondary</b-button>
10 <b-button variant="danger">Danger</b-button>
11 <b-button variant="link">Link Button</b-button>
12 <b-button variant="link">
13 <icon-add />
14 <span>Link Button</span>
15 </b-button>
Derick Montaguef364d0e2020-10-09 12:11:39 -050016 <b-button variant="link">
17 <icon-trashcan />
18 <span class="sr-only">Delete</span>
19 </b-button>
Derick Montague3f6710a2020-03-04 00:59:47 -060020
21 <h3 class="h4">Disabled</h3>
22 <b-button disabled variant="primary">Primary</b-button>
23 <b-button disabled variant="primary">
24 <icon-add />
25 <span>Primary with icon</span>
26 </b-button>
27 <b-button disabled variant="secondary">Secondary</b-button>
28 <b-button disabled variant="danger">Danger</b-button>
29 <b-button disabled variant="link">Link Button</b-button>
30 <b-button disabled variant="link">
31 <icon-add />
32 <span>Link Button</span>
33 </b-button>
Derick Montaguef364d0e2020-10-09 12:11:39 -050034 <b-button disabled variant="link">
35 <icon-trashcan />
36 <span class="sr-only">Delete</span>
37 </b-button>
Derick Montague3f6710a2020-03-04 00:59:47 -060038 </div>
39</template>
40
41<script>
42import IconAdd from '@carbon/icons-vue/es/add--alt/20';
Derick Montaguef364d0e2020-10-09 12:11:39 -050043import IconTrashcan from '@carbon/icons-vue/es/trash-can/20';
Derick Montague3f6710a2020-03-04 00:59:47 -060044import IconArrowRight from '@carbon/icons-vue/es/arrow--right/16';
45export default {
46 name: 'BmcButtons',
Derick Montaguef364d0e2020-10-09 12:11:39 -050047 components: { IconAdd, IconArrowRight, IconTrashcan }
Derick Montague3f6710a2020-03-04 00:59:47 -060048}
49</script>
50<style scoped>
51 button {
52 margin-bottom: 1rem;
Derick Montague3f6710a2020-03-04 00:59:47 -060053 }
54
55 h3 {
56 margin: .5rem 0 1rem;
57 }
58</style>