Usage
Built on top of the Card component, the PageCard
can be used in a PageGrid, PageColumns or a LandingGrid.
Use the title
, description
and icon
props to customize the card.
Tailwind CSS
Add Tailwind CSS to your Nuxt application in seconds with PurgeCSS included for minimal CSS.
<template>
<UPageCard
title="Tailwind CSS"
description="Add Tailwind CSS to your Nuxt application in seconds with PurgeCSS included for minimal CSS."
icon="i-simple-icons-tailwindcss"
/>
</template>
You can also pass any property from the NuxtLink component such as to
, target
, exact
, etc.
<template>
<UPageCard
title="Tailwind CSS"
description="Add Tailwind CSS to your Nuxt application in seconds with PurgeCSS included for minimal CSS."
icon="i-simple-icons-tailwindcss"
to="https://nuxt.com/modules/tailwindcss"
target="_blank"
/>
</template>
Slots
header
{}
icon
{}
title
{}
description
{}
footer
{}
default
{}
Props
to
any
icon
string
undefined
title
string
undefined
description
string
undefined
ui
{}
{}
href
any
target
(string & {}) | "_blank" | "_parent" | "_self" | "_top"
"_blank"
"_parent"
"_self"
"_top"
rel
string
activeClass
string
exactActiveClass
string
prefetchedClass
string
ariaCurrentValue
string
noRel
boolean
prefetch
boolean
noPrefetch
boolean
replace
boolean
external
boolean