-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: match button-icon to related plugin (#52)
- Loading branch information
1 parent
6496bef
commit 1861035
Showing
2 changed files
with
121 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<script setup lang="ts"> | ||
definePageMeta({ | ||
title: 'Button Icon', | ||
icon: 'lucide:cpu', | ||
description: 'Button Icon variations', | ||
section: 'content', | ||
}) | ||
</script> | ||
|
||
<template> | ||
<div | ||
class="flex flex-col gap-12 [&>*]:p-8 [&>:nth-child(odd)]:bg-muted-100 dark:[&>:nth-child(odd)]:bg-muted-900 pb-32" | ||
> | ||
<div> | ||
<BaseHeading size="xl" weight="medium" class="mb-10"> | ||
Button icon shape | ||
</BaseHeading> | ||
<div class="flex gap-2"> | ||
<BaseButtonIcon shape="straight"> | ||
<Icon name="ph:moon-duotone" class="w-5 h-5" /> | ||
</BaseButtonIcon> | ||
<BaseButtonIcon shape="rounded"> | ||
<Icon name="ph:github-logo-duotone" class="w-5 h-5" /> | ||
</BaseButtonIcon> | ||
<BaseButtonIcon shape="curved"> | ||
<Icon name="ph:game-controller-duotone" class="w-5 h-5" /> | ||
</BaseButtonIcon> | ||
<BaseButtonIcon shape="full"> | ||
<Icon name="ph:heart-duotone" class="w-5 h-5" /> | ||
</BaseButtonIcon> | ||
</div> | ||
</div> | ||
<div> | ||
<BaseHeading size="xl" weight="medium" class="mb-10"> | ||
Button icon colors | ||
</BaseHeading> | ||
<div class="flex gap-2"> | ||
<BaseButtonIcon shape="full" color="default"> | ||
<Icon name="ph:heart-duotone" class="w-5 h-5" /> | ||
</BaseButtonIcon> | ||
<BaseButtonIcon shape="full" color="muted"> | ||
<Icon name="ph:heart-duotone" class="w-5 h-5" /> | ||
</BaseButtonIcon> | ||
<BaseButtonIcon shape="full" color="primary"> | ||
<Icon name="ph:heart-duotone" class="w-5 h-5" /> | ||
</BaseButtonIcon> | ||
<BaseButtonIcon shape="full" color="info"> | ||
<Icon name="ph:heart-duotone" class="w-5 h-5" /> | ||
</BaseButtonIcon> | ||
<BaseButtonIcon shape="full" color="success"> | ||
<Icon name="ph:heart-duotone" class="w-5 h-5" /> | ||
</BaseButtonIcon> | ||
<BaseButtonIcon shape="full" color="warning"> | ||
<Icon name="ph:heart-duotone" class="w-5 h-5" /> | ||
</BaseButtonIcon> | ||
<BaseButtonIcon shape="full" color="danger"> | ||
<Icon name="ph:heart-duotone" class="w-5 h-5" /> | ||
</BaseButtonIcon> | ||
<BaseButtonIcon shape="full" color="none"> | ||
<Icon name="ph:heart-duotone" class="w-5 h-5" /> | ||
</BaseButtonIcon> | ||
</div> | ||
</div> | ||
<div> | ||
<BaseHeading size="xl" weight="medium" class="mb-10"> | ||
Button icon size | ||
</BaseHeading> | ||
<div class="flex gap-2"> | ||
<BaseButtonIcon shape="full" color="primary" size="sm"> | ||
<Icon name="ph:heart-duotone" class="w-5 h-5" /> | ||
</BaseButtonIcon> | ||
<BaseButtonIcon shape="full" color="primary" size="md"> | ||
<Icon name="ph:heart-duotone" class="w-5 h-5" /> | ||
</BaseButtonIcon> | ||
<BaseButtonIcon shape="full" color="primary" size="lg"> | ||
<Icon name="ph:heart-duotone" class="w-5 h-5" /> | ||
</BaseButtonIcon> | ||
</div> | ||
</div> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters