frame

Frame with medium border radius

Frame with medium border radius

Загрузка превью…

src/frame/c-frame-14.vue

<script setup lang="ts">
import { Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle } from "@/components/reui/frame"
</script>

<template>
  <Frame class="w-full max-w-sm [--frame-radius:var(--radius-md)]">
    <FrameHeader>
      <FrameTitle>Media Library</FrameTitle>
      <FrameDescription>Manage your assets and downloads</FrameDescription>
    </FrameHeader>
    <FramePanel>
      <h2 class="text-sm font-semibold">Storage Capacity</h2>
      <p class="text-muted-foreground text-sm">
        Medium radius is a versatile middle ground between sharp and rounded
        aesthetics.
      </p>
    </FramePanel>
    <FrameFooter>
      <p class="text-muted-foreground text-sm">75% of 100GB used</p>
    </FrameFooter>
  </Frame>
</template>

Установка

npx shadcn-vue@latest add https://revueui.rootapi.dev/r/c-frame-14.json

Зависимости реестра

Источник: порт из ReUI (Keenthemes, MIT)