Content

Source of a documentation example component

The single file component behind an example on a documentation page. Names are listed by the list-examples MCP tool and accepted in PascalCase, camelCase or kebab-case, with an optional .json suffix.

get/api/component-example/{component}

Request

  • Base URL: https://ui.nuxt.com
  • URL: https://ui.nuxt.com/api/component-example/{component}
  • Auth: none required

Path parameters

componentstring required

Example component name, in PascalCase or kebab-case. A .json suffix is accepted.

Response

Source code of the example component.

codestring required

Single file component source.

filePathstring
pascalNamestring required

Changes

No recorded changes to this operation across all 1 revision of this API.