scrin 0.1.1

A terminal UI toolkit with panes, widgets, overlays, animations, and Aisling-powered effects/loaders.
Documentation

scrin

Made by KnottDynamics.

scrin is a Rust terminal UI toolkit with composable widgets, dynamic panes, overlays, command palettes, status bars, animation helpers, sanitization, and Aisling-powered effects/loaders.

[dependencies]
scrin = "0.1"
use scrin::core::buffer::Buffer;
use scrin::core::color::Color;
use scrin::core::rect::Rect;
use scrin::widgets::block::{Block, BorderStyle};
use scrin::widgets::Widget;

let mut buffer = Buffer::new(40, 8);
let block = Block::new("scrin").with_borders(BorderStyle::Rounded);
block.render(&mut buffer, Rect::new(0, 0, 40, 8));

Run the demos with the scripts in scripts/, for example:

scripts/demo_toggle_exotic
scripts/demo_aisling_story