Files
music-v2/app/ui/Card.vue
T
2026-02-03 15:54:49 +01:00

25 lines
427 B
Vue

<script setup lang="ts">
interface CardProps {
width?: string
}
const props = defineProps<CardProps>()
</script>
<template>
<article class="card" :style="{ width: props.width }">
<slot />
</article>
</template>
<style lang="scss" scoped>
@use "@/styles/variables" as *;
.card {
background-color: $color-background;
border: 1px solid $color-border;
border-radius: $border-radius-standard;
padding: 1rem;
}
</style>