frame

Frame with separated panels

Frame with separated panels

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

src/frame/c-frame-2.vue

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

<template>
  <Frame class="w-full">
    <FrameHeader>
      <FrameTitle>Section header</FrameTitle>
      <FrameDescription>Description for the section</FrameDescription>
    </FrameHeader>
    <FramePanel>
      <h2 class="text-sm font-semibold">Separated panel</h2>
      <p class="text-muted-foreground text-sm">Section description</p>
    </FramePanel>
    <FramePanel>
      <h2 class="text-sm font-semibold">Separated panel</h2>
      <p class="text-muted-foreground text-sm">Section description</p>
    </FramePanel>
  </Frame>
</template>

Установка

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

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

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