js-chess-viewer
v1.0.4
Published
A lightweight, high-performance web component for rendering and interacting with chess boards.
Readme
js-chess-viewer
A lightweight, high-performance web component for rendering and interacting with chess boards.
Features
- Dependency-free web component (
<chess-board>). - Supports FEN (Forsyth-Edwards Notation).
- Built-in drag-and-drop mechanics.
- Coordinates, highlights, and arrows overlay support.
Usage
<script type="module" src="js-chess-viewer.js"></script>
<chess-board fen="rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"></chess-board>Support
If you found this project helpful and want to support its development, consider sponsoring me or leaving a donation!
License
This project is licensed under a Non-Commercial License. See the LICENSE file for details.
