Re:Vue

【revuekitz】LayoutWrapper

■ コンポーネントデモ(demo)

Re:Vue

LayoutWrapper Area

■ 概要(Overview)

コンポーネント名

  • LayoutWrapper

レベル (Atomic Design)

  • 原子(Atoms)

カテゴリー(Category)

  • レイアウト (Layout)

■ データ(Data)

【props】

  • id (string) - ラッパーのID
  • class (string) - ラッパーのクラス
  • style (string | object) - ラッパーのスタイル
  • maxWidth (string) - 最大幅(デフォルト: '1024px')

■ 使用例(Usecase)

<script setup lang="ts">
import { LayoutWrapper } from 'revuekitz'
import 'revuekitz/dist/style.css' 
</script>

<template>
  <LayoutWrapper
    id="layoutWrapperId"
    class="layout-wrapper-class"
    :maxWidth="'800px'"
  >
    <h1>My Website Content</h1>
    <p>This content is wrapped with a maximum width.</p>
  </LayoutWrapper>
</template>