mirror of
https://github.com/BlossomiShymae/clean-cuts.git
synced 2025-12-06 10:10:47 +01:00
Init commit
This commit is contained in:
18
components/Badge.vue
Normal file
18
components/Badge.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<template>
|
||||
<span class="badge text-bg-dark border text-dark-emphasis fw-normal d-flex align-items-center gap-2 bg-transparent bg-blur-4 border-light border-opacity-25">
|
||||
<MaterialIcon :size="24" :name="name" />
|
||||
<slot></slot>
|
||||
</span>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import MaterialIcon from './MaterialIcon.vue';
|
||||
|
||||
defineProps<{
|
||||
name: string
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user