Infrastructure duskmoon implemented 1 demos
Breakpoint
Breakpoint documents the Breakpoint 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
Type-only export (no visual preview)
Type usage
type-drivenBreakpoint is a TypeScript-only breakpoint union exported from the root package.
Source
import type { Breakpoint } from "@duskmoon-dev/components";
const compact: Breakpoint = "sm";
const desktop: Breakpoint = "lg";
export const responsiveBreakpoints: Breakpoint[] = [compact, desktop]; API
The API reference below lists every parsed exported type or interface for Breakpoint.
No type source found.
No dedicated props interface was found.