UIPackage
Menu

Framework

Change language

Boilerplate repo

Page

pageui

Page-level layout shell — title row, optional breadcrumbs, action bar, and slotted content well. The standard wrapper for `routes/*.vue` pages so every screen looks consistent.

Also available for React ->

Installation

$npx shadcn-vue@latest add https://uipkge.dev/r/vue/page.json
Named registry:npx shadcn-vue@latest add @uipkge/pageInstalls to:app/components/ui/page/

Examples

Loading interactive previews…

Props

NameType / ValuesDefaultRequired
classstringoptional

Used by

Files installed (5)

  • app/components/ui/page/Page.vue0.2 kB
    <script setup lang="ts">
    import { cn } from '@/lib/utils'
    
    defineProps<{
      class?: string
    }>()
    </script>
    
    <template>
      <div data-uipkge data-slot="page" :class="cn('space-y-6', $props.class)">
        <slot />
      </div>
    </template>
    
  • app/components/ui/page/PageBody.vue0.2 kB
  • app/components/ui/page/PageHeader.vue0.4 kB
  • app/components/ui/page/PageHeaderHeading.vue0.4 kB
  • app/components/ui/page/index.ts0.2 kB

Raw manifest:https://uipkge.dev/r/vue/page.json