GitHub

CMS Panel

Panel wrapper for CMS field integration

Basic Usage

Loading...

Installation

pnpm add @corew500/ui

Usage

import { CMSPanel } from "@corew500/ui/cms-panel"

<CMSPanel>Content</CMSPanel>

Variants

cmsPanelVariants

AxisValuesDefault
size
defaultsmlg
default

API Reference

Props

PropTypeDefaultDescription
localestringThe current locale code to display (e.g., 'en', 'fr')
titlestringCMS FieldsCustom title for the panel header (defaults to "CMS Fields")
descriptionstringFooter description text explaining the demo
sizeenum

Accessibility

Keyboard Navigation

  • All form controls maintain proper tab order

Additional

  • - Panel is a semantic grouping container
  • Field labels are associated with their inputs

Localization

Translatable Content

  • - Title and description props should contain pre-translated text

Additional

  • Locale badge displays the current content language code