Skip to main content

Crate ui

Crate ui 

Source
Expand description

§ui

This package provides the Dioxus user interface components for the cribbage game. The ui crate contains shared components for rendering game elements. It depends on the api crate for backend interactions and is used by the web crate for the frontend.

§Modules

  • assets - Directory for static assets (e.g., images, icons for cards, pegboards).
  • src/components - Reusable components including domain object views, action buttons and general purpose UI.
  • src/pages - Main routing pages.

Re-exports§

pub use pages::UnexpectedErrorPage;
pub use pages::UnexpectedErrorPage;

Structs§

Toast
Helper for displaying toast notifications within the UI.

Enums§

Route
Application routing definitions.

Functions§

UnexpectedErrorPage
Props