# 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.
```toml
[dependencies]
scrin = "0.1"
```
```rust
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:
```bash
scripts/demo_toggle_exotic
scripts/demo_aisling_story
```