File tree Expand file tree Collapse file tree 5 files changed +79
-0
lines changed Expand file tree Collapse file tree 5 files changed +79
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,18 @@ radix: https://www.radix-ui.com/themes/docs/components/icon-button
1414
1515## Examples
1616
17+ ### Size
18+
19+ <Example name =" icon-button/Size.vue " />
20+
1721### Variant
1822
1923<Example name =" icon-button/Variant.vue " />
24+
25+ ### Color
26+
27+ <Example name =" icon-button/Color.vue " />
28+
29+ ### Radius
30+
31+ <Example name =" icon-button/Radius.vue " />
Original file line number Diff line number Diff line change 1+ <script setup lang="ts">
2+ import { Icon } from ' @iconify/vue'
3+ import { IconButton } from ' #components'
4+ </script >
5+
6+ <template >
7+ <div class =" flex items-center gap-2" >
8+ <IconButton color =" indigo" variant =" soft" >
9+ <Icon icon =" lucide:bookmark" />
10+ </IconButton >
11+ <IconButton color =" cyan" variant =" soft" >
12+ <Icon icon =" lucide:bookmark" />
13+ </IconButton >
14+ <IconButton color =" orange" variant =" soft" >
15+ <Icon icon =" lucide:bookmark" />
16+ </IconButton >
17+ <IconButton color =" crimson" variant =" soft" >
18+ <Icon icon =" lucide:bookmark" />
19+ </IconButton >
20+ </div >
21+ </template >
Original file line number Diff line number Diff line change 1+ <script setup lang="ts">
2+ import { Icon } from ' @iconify/vue'
3+ import { IconButton } from ' #components'
4+ </script >
5+
6+ <template >
7+ <div class =" flex items-center gap-2" >
8+ <IconButton radius =" none" variant =" soft" >
9+ <Icon icon =" lucide:bookmark" />
10+ </IconButton >
11+ <IconButton radius =" small" variant =" soft" >
12+ <Icon icon =" lucide:bookmark" />
13+ </IconButton >
14+ <IconButton radius =" medium" variant =" soft" >
15+ <Icon icon =" lucide:bookmark" />
16+ </IconButton >
17+ <IconButton radius =" large" variant =" soft" >
18+ <Icon icon =" lucide:bookmark" />
19+ </IconButton >
20+ <IconButton radius =" full" variant =" soft" >
21+ <Icon icon =" lucide:bookmark" />
22+ </IconButton >
23+ </div >
24+ </template >
Original file line number Diff line number Diff line change 1+ <script setup lang="ts">
2+ import { Icon } from ' @iconify/vue'
3+ import { IconButton } from ' #components'
4+ </script >
5+
6+ <template >
7+ <div class =" flex items-center gap-2" >
8+ <IconButton size =" 1" variant =" soft" >
9+ <Icon icon =" lucide:bookmark" />
10+ </IconButton >
11+ <IconButton size =" 2" variant =" soft" >
12+ <Icon icon =" lucide:bookmark" />
13+ </IconButton >
14+ <IconButton size =" 3" variant =" soft" >
15+ <Icon icon =" lucide:bookmark" />
16+ </IconButton >
17+ <IconButton size =" 4" variant =" soft" >
18+ <Icon icon =" lucide:bookmark" />
19+ </IconButton >
20+ </div >
21+ </template >
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export default defineConfigWithVueTs(
88 name : 'app/files-to-ignore' ,
99 ignores : [
1010 '**/dist/**' ,
11+ 'site/public/**' ,
1112 '.vitepress/cache/**'
1213 ] ,
1314 } ,
You can’t perform that action at this time.
0 commit comments