Card
Card
PCard is a container for grouped content with optional header and footer slots.
Demo
Usage
<PCard type="main"> <template #header>Summary</template> Content goes here. <template #footer> <PButton size="sm">Action</PButton> </template></PCard>Props
| Prop | Type | Default | Notes |
|---|---|---|---|
type | String | main | main, complementary, success, warning, danger, info. |
Slots
| Slot | Description |
|---|---|
header | Card title area. |
| default | Main content. |
footer | Footer actions. |