Crates.io | tui-cards |
lib.rs | tui-cards |
version | 0.3.0-alpha.0 |
created_at | 2024-09-21 16:04:51.552326+00 |
updated_at | 2025-03-02 02:43:36.654278+00 |
description | A playing card widget for Ratatui |
homepage | |
repository | https://github.com/joshka/tui-widgets |
max_upload_size | |
id | 1382317 |
size | 57,512 |
A simple library to render playing cards in a terminal using tui-rs.
use tui_cards::{Card, Rank, Suit};
let card = Card::new(Rank::Ace, Suit::Spades);
frame.render_widget(&card, area);
cargo run --example card
Copyright (c) Josh McKinney
This project is licensed under either of:
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
See CONTRIBUTING.md.