#chess-board #component #web #doixus

dioxus-chessboard

A chessboard component for Dioxus

2 releases

0.1.1 Jun 3, 2024
0.1.0 Jun 3, 2024

#244 in GUI

Download history 253/week @ 2024-06-03 12/week @ 2024-06-10

265 downloads per month

MIT/Apache

140KB
613 lines

Overview

dioxus-chessboard is a Rust crate designed to provide a web-based chessboard component for the Dioxus framework. This crate offers an interactive and customizable chessboard that can be integrated into any web application built with Dioxus.

Setup

  • Install Dioxus CLI

    cargo install dioxus-cli
    
  • Clone the test project

    git clone git@github.com:vnermolaev/dioxus-chessboard-example.git
    
  • Switch to the test project and execute

    cd ./dioxus-chessboard-test
    npx tailwindcss -i ./input.css -o ./public/tailwind.css
    dx serve --hot-reload
    

    This will compile the styles and open a browser tab with the example page.

Credit

All images are in Public Domain and sourced from OpenClipart.

Dependencies

~18–32MB
~523K SLoC