bubble-table

module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2022 License: MIT

README

Bubble-table

A table component for the Bubble Tea framework.

Table

View sample source code

Features

For a code reference, please see the full feature example.

Displays a table with a header, rows, and borders.

Border shape is customizable with a basic thick square default.

Rows can be individually styled.

Can be focused to highlight a row and navigate with up/down (and j/k).

Can make rows selectable, and fetch the current selections.

Demos

Code examples are located in the examples directory. Run commands are added to the Makefile for convenience but they should be as simple as go run ./examples/features/main.go, etc.

To run the examples, clone this repo and run:

# Run the full feature demo
make

# Run the example
make dimensions

# Or run any of them directly
go run ./examples/features/main.go

Contributing

Contributions welcome, but since this is being actively developed for use in Khan please check first by opening an issue or commenting on an existing one!

Directories

Path Synopsis
examples
dimensions command
features command
This file contains a full demo of most available features, for both testing and for reference
This file contains a full demo of most available features, for both testing and for reference

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL