naive-ui/demo/documentation/components/card/enUS/index.md
2020-03-20 19:17:26 +08:00

831 B

Card

Some amatuer UI designers like to apply shadow on every cards.

Demos

basic
size
cover
slots
border
segment
closable

Props

Name Type Default Description
title string null
content-style object | string null
header-style object | string null
segmented boolean | { [part in 'content' | 'footer' | 'action']?: boolean | 'soft' | 'hard' } false
size 'small' | 'medium' | 'large' | 'huge' 'medium'
bordered boolean true
closable boolean false
theme 'light' | 'dark' null
themed-style { [themeName: string]: object } null

Events

Name Parameters Description
close ()

Slots

Name Parameters Description
cover ()
header ()
header-extra ()
default ()
footer ()
action ()