2 unstable releases

0.2.0 Aug 14, 2025
0.1.0 Jul 3, 2025

#1249 in Command-line interface

Download history 3/week @ 2025-10-03

93 downloads per month
Used in 2 crates

MIT/Apache

35KB
691 lines

ratatui-fretboard 🎸

A Ratatui widget for displaying musical notes and their positions on a guitar fretboard.

Example

let fretboard = Fretboard::default();
let mut state = FretboardState::default();
state.set_active_note(Note::A(4));
frame.render_stateful_widget(fretboard, area, &mut state);
E ║───┼───┼───┼───┼───┼─●─┼───┼───┼───┼───┼───┼───║
B ║───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼─●─┼───║
G ║───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───║
D ║───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───║
A ║───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───║
E ║───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───║
  0   1   2   3   4   5   6   7   8   9  10  11  12

License

Licensed under either of Apache License Version 2.0 or The MIT License at your option.

🦀 ノ( º _ º ノ) - respect crables!

Copyright © 2025, Orhun Parmaksız

Dependencies

~5.5MB
~88K SLoC