I wonder if It’s frost around.
Looking up, I find the moon bright;
Bowing, in homesickness I’m drowned.
Sawatdee Card!
<script lang="ts" setup>
import { RCard } from 'roughness'
</script>
<template>
<RCard>
<template #title>A Tranquil Night</template>
Abed, I see a silver light,<br>
I wonder if It’s frost around.<br>
Looking up, I find the moon bright;<br>
Bowing, in homesickness I’m drowned.
</RCard>
</template>
<script lang="ts" setup>
import { RCard, RSpace } from 'roughness'
</script>
<template>
<RSpace vertical>
<RCard type="info">For every minute in Africa, 60 seconds pass.</RCard>
<RCard type="success">You successfully failed.</RCard>
<RCard type="warning" size="small">No programmer can see warnings.</RCard>
<RCard type="error" size="large">You threw tantrums on me!</RCard>
</RSpace>
</template>
Name | Type | Default Value | Description |
---|---|---|---|
footer | |||
graphicsOptions | |||
header | |||
tag | |||
type | |||
... | See Space Props. Unlike Space, the default value of Card's |
Name | Type | Description |
---|---|---|
title | ||
header-end | ||
default | ||
footer |
Name | Type | Default Value | Description |
---|---|---|---|
--r-card-color | |||
--r-card-border-color | |||
--r-card-border-width | |||
--r-card-border-dash | |||
--r-card-padding-block | |||
--r-card-padding-inline | |||
... | See Space Styles. |