feat: migrate button groups and toggle buttons with focus regressions
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<script setup lang="ts">
|
||||
import { ToggleButton } from "@heroui-vue/components";
|
||||
import { IconHeart } from "@tabler/icons-vue";
|
||||
</script>
|
||||
<template>
|
||||
<div class="flex flex-col gap-6">
|
||||
<div class="flex items-center gap-3">
|
||||
<ToggleButton size="sm">
|
||||
<IconHeart aria-hidden="true" />
|
||||
Small
|
||||
</ToggleButton>
|
||||
<ToggleButton size="md">
|
||||
<IconHeart aria-hidden="true" />
|
||||
Medium
|
||||
</ToggleButton>
|
||||
<ToggleButton size="lg">
|
||||
<IconHeart aria-hidden="true" />
|
||||
Large
|
||||
</ToggleButton>
|
||||
</div>
|
||||
<div class="flex items-center gap-3">
|
||||
<ToggleButton is-icon-only size="sm" aria-label="Small">
|
||||
<IconHeart aria-hidden="true" />
|
||||
</ToggleButton>
|
||||
<ToggleButton is-icon-only size="md" aria-label="Medium">
|
||||
<IconHeart aria-hidden="true" />
|
||||
</ToggleButton>
|
||||
<ToggleButton is-icon-only size="lg" aria-label="Large">
|
||||
<IconHeart aria-hidden="true" />
|
||||
</ToggleButton>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user