Playground

This component's contract doesn't list typed props, so the playground shows its documented example.

Documented example classification-panel-title-and-summary : mount without authored children, h2 heading, visible subtitle and the summary text inside the content area.

The render follows the page's theme switch: light, dark or high contrast. Both frameworks render the same example.

The real ClassificationPanel, live
React

Classification

Taxonomy and tags
Electronics > Mobile > Android
Vue

Classification

Taxonomy and tags
Electronics > Mobile > Android

Code

The documented example. HTML is the markup the React component renders for it, which @oods/component-styles styles.

import { ClassificationPanel } from '@oods/components-react';
import '@oods/component-styles/css';

export function Example() {
  return (
    <ClassificationPanel
      title="Classification"
      subtitle="Taxonomy and tags"
      summary={"Electronics > Mobile > Android"}
    />
  );
}

Props, slots and events

Contract version 1.1.0. Types are from the React declarations in @oods/components-react.

Props
PropTypeRequiredDocumented example
title string | undefined no Classification
label string | undefined no
heading string | undefined no
name string | undefined no
subtitle string | undefined no Taxonomy and tags
description string | undefined no
metadata string | undefined no
summary string | undefined no Electronics > Mobile > Android
text string | undefined no
body string | undefined no
emptyMessage string | undefined no

Slots

default

Events

none

States

summary, content

Accessibility

Role
none
How it gets its name
heading on h1,h2,h3,h4,h5,h6

Keyboard

The contract lists no keyboard behaviour.

Obligations in the contract

  • A real h3 heading names the panel section
  • Subtitle and summary text remain visible beside the heading
  • The panel is noninteractive

Mirrors renderClassificationPanel over renderPanelSection with data-panel-type=classification: title aliases title/label/heading/name (default Classification), subtitle aliases subtitle/description/metadata, and summary/text/body/emptyMessage fill the content area only without authored children. The saved-schema directives categoriesField, tagsField, metadataField and modeParameter are consumed by codegen and left unbound: the HTML renderer reads no categories, tags or mode, and its metadata alias is scalar subtitle text while metadataField names an object-typed field.

Tokens

The token roles this component reads.

  • panel.background
  • panel.border
  • panel.title
  • panel.subtitle

Readiness

The evidence recorded for this component, with its label.

proven-in-generated-apps: catalog_list gives this label when generated React and Vue apps in the runtime sweep that ships with this version both use the component. That sweep was measured on the published 0.4.1, not on this version.

Readiness evidence
EvidenceReactVue
stateimplemented-evidence-completeimplemented-evidence-complete
versioned contractpassedpassed
target implementationpassedpassed
package exportpassedpassed
public declarationpassedpassed
dependency closurepassedpassed
framework scenariopassedpassed
accessibilityverifiedverified
interactionnot-applicablenot-applicable
visual themesverifiedverified

ClassificationPanel presents content and owns no focusable control or action; authored child actions remain the consumer's responsibility.

Use your own

You can replace this component with your own React or Vue component. Map it, and generated code imports yours at the exact version you name. A contract report, run in a real browser, lists what your component met, what it didn't, and what wasn't checked.

The component_map call, with the parts in angle brackets yours to fill:

{
  "action": "create",
  "apply": true,
  "externalSystem": "<your design system>",
  "externalComponent": "<YourClassificationPanel>",
  "oodsTraits": [
    "Classifiable"
  ],
  "substitution": {
    "component": "ClassificationPanel",
    "react": {
      "package": "<your-package>/react",
      "version": "<exact version>",
      "export": "<YourClassificationPanel>"
    },
    "vue": {
      "package": "<your-package>/vue",
      "version": "<exact version>",
      "export": "<YourClassificationPanel>"
    }
  }
}

How this page was made

Generated at build from the published data, each source with the hash of what was read. The page's manifest.

  • Contract: @oods/component-contracts@0.10.1 componentContracts.ClassificationPanel sha256:2737547b10f1…
  • Documented example: @oods/component-contracts@0.10.1 sharedScenarios classification-panel-title-and-summary sha256:202d7e838820…
  • Catalog entry (catalog_list): generated/0.10.1/system/catalog.json ClassificationPanel sha256:341797fd681d…
  • React readiness: @oods/components-react@0.10.1 readiness ClassificationPanel sha256:7c50f24b7ce9…
  • Vue readiness: @oods/components-vue@0.10.1 readiness ClassificationPanel sha256:b576cfb7bfcb…
  • Prop types: generated/0.10.1/components/prop-types.json ClassificationPanel sha256:57585e3e734e…