KANTO DS v1.12.0
Customise

Theme

Accent

Font

Corners

Density

Text size

Reset to Kanto
Guide

Editors

GitHub Copy link

Kanto describes itself to your editor, so plain HTML and templates get completion and hover docs for every kt- tag, attribute and event. For AI assistants, see AI agents.

Kanto describes itself to your editor, so plain HTML and templates get completion and hover docs for every kt-* tag, attribute and event. For AI assistants, see AI agents.

Completion and hover docs

The package ships a Custom Elements Manifest and editor data generated from it.

  • WebStorm and other JetBrains IDEs read web-types.json from the package on their own.
  • VS Code needs pointing at it once, in .vscode/settings.json:
{ "html.customData": ["./node_modules/kanto-ds/dist/vscode.html-custom-data.json"], "css.customData": ["./node_modules/kanto-ds/dist/vscode.css-custom-data.json"] }
  • Storybook and API-docs generators take kanto-ds/custom-elements.json.