View as Markdown

API reference: @salmonui/mcp

IndexDemointerface

import type { IndexDemo } from '@salmonui/mcp';
interface IndexDemo {
    readonly id: string;
    readonly title: string;
    readonly description: string;
    readonly category: string;
    readonly path: string;
    readonly notes: string;
    readonly imports: readonly string[];
    readonly source: string;
}
IndexDemo members (8)
NameSignatureDescription
idreadonly id: string;
titlereadonly title: string;
descriptionreadonly description: string;
categoryreadonly category: string;
pathreadonly path: string;

Site path (/demos/buttons/button-basics).

notesreadonly notes: string;
importsreadonly imports: readonly string[];

@salmonui/* specifiers the demo imports.

sourcereadonly source: string;