Infrastructure duskmoon implemented 2 demos

version

version documents the version export from duskmoon.

Import @duskmoon-dev/components
0 API sections
0 documented props
0 behavior scenarios

Usage

When to use

  • Use it in setup, integration, or type-level code rather than as visible page content.
  • Keep usage close to the application boundary so global configuration remains easy to audit.

Implementation notes

Stylesheet Import @duskmoon-dev/components/styles.css once in the app or docs shell.
Runtime placement Use helper exports at application setup boundaries or in typed utility modules.
Theme The preview inherits the active DuskMoon data-theme value from the docs layout.

Features

Package helper

Explains the exported helper, hook, or type and where it fits in app setup code.

Non-visual API

Provides typed usage examples even when there is no rendered component preview.

Feature Demos

These examples focus on typed integration because the export does not render a component preview.

Preview
DuskMoon SDK Version: 0.3.0

Basic usage

authored

Import the component stylesheet and version from its package subpath, then render it with the core props.

Source
import "@duskmoon-dev/components/styles.css";
import { version } from "@duskmoon-dev/components";

export function Example() {
  return (<version>DuskMoon Version</version>);
}
Preview
DuskMoon SDK Version: 0.3.0

Theme aware

authored

Docs previews inherit the DuskMoon data-theme value. Use the header switch to compare light and dark rendering.

Source
<div data-theme="sunshine">
  <version>DuskMoon Version</version>
</div>

<div data-theme="moonlight">
  <version>DuskMoon Version</version>
</div>

API

The API reference below lists every parsed exported type or interface for version.

No type source found.
No dedicated props interface was found.