■ コンポーネントデモ(demo)
title
subtitle
Enter the content of the card here.
■ 概要(Overview)
コンポーネント名
- CardFlame
レベル (Atomic Design)
- Atoms(原子)
カテゴリー(Category)
- displays
■ データ(Data)
【props】
id(string): カードのIDclass(string): カードのクラス名name(string): カードの名前style(string): カードのスタイルstyleReset(boolean): クラス名をリセットするかどうかtitle(string): カードのタイトルsubtitle(string): カードのサブタイトル
【computed】
- bindingClass:
props.class,props.styleResetの値に基づいてクラス名を設定
■ 使用例(Usecase)
<script setup lang="ts">
import { CardFlame } from '.revuekitz'
import 'revuekitz/dist/style.css'
</script>
<template>
<CardFlame
id="cardFlameId"
class="card-flame-class"
:style="'background-color: lightgray;'"
title="title"
subtitle="subtitle"
>
<p>Enter the content of the card here.</p>
</CardFlame>
</template>