1
1
Fork
You've already forked elementtui_components
0
ElementTuiComponents: TUI component companion library for ElementTui.
  • Elixir 99.4%
  • Euphoria 0.6%
Find a file
Edwin van Leeuwen 1c7e042b8b
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Merge branch 'feature/protocol' into develop
2024年10月15日 08:19:43 +01:00
lib code: Greatly simplify the Pane implementation using the improved vbox and hbox 2024年10月15日 08:19:27 +01:00
test code: Rename and reorganise 2024年09月27日 19:33:31 +01:00
.formatter.exs git: Initial commit 2024年07月27日 20:47:19 +01:00
.gitignore feat: Add basic xygraph 2024年07月27日 21:10:37 +01:00
.woodpecker.yaml release: Initial release 2024年07月28日 08:12:27 +01:00
LICENSE license: Use GPL-3 for the components 2024年07月28日 07:57:05 +01:00
mix.exs feat: Move component protocol to elementtui 2024年09月03日 06:43:48 +01:00
README.md doc: Improve the README 2024年08月30日 17:04:33 +01:00

ElementTuiComponents

ElementTuiComponents: TUI component companion library for ElementTui. This repository is meant to become a collection of useful components build upon the ElementTui library. Elementtui contains the basic building blocks for a TUI, while this library contains more specific layout examples, such as an xygraph, tabbed window etc. Feel free to submit your own components if you think they are of use to others.

Currently, the components are basic examples of what you can do. Feel free to use the components code as your starting code if you want to add features specific to your use case.

A secondary goal of this library is to include experimental features that might be moved into elementtui proper. These live under lib/experimental.

Installation

The package can be installed by adding elementtui_components to your list of dependencies in mix.exs:

def deps do
 [
 {:elementtui_components, ">= 0.0.0"}
 ]
end

Usage

There are some simple examples available on codeberg that should help you get started.

Example

Example of the tab and xygraph components. See the examples repository for the code.

component