Skip to main content

Crate hojicha_pearls

Crate hojicha_pearls 

Source
Expand description

§Hojicha Pearls

Beautiful UI components and styling for Hojicha TUI applications.

This crate provides pre-built components and styling utilities to help you create polished terminal user interfaces quickly.

§Components

  • Button: Clickable button with customizable styling
  • Spinner: Animated loading indicators
  • ProgressBar: Visual progress indication
  • Tabs: Tab-based navigation
  • Modal: Overlay dialogs
  • Table: Data display in tabular format
  • List: Scrollable lists with selection
  • TextArea: Multi-line text input
  • TextInput: Single-line text input
  • Timer: Countdown/countup timer
  • Stopwatch: Time tracking component
  • StatusBar: Application status display
  • Paginator: Page navigation
  • Viewport: Scrollable content area

§Styling

  • Theme: Consistent color schemes
  • Gradient: Color gradients for visual effects
  • Grid: Layout grid system
  • Floating: Floating element positioning
  • Builder: Fluent style builder API

Re-exports§

pub use components::Button;
pub use components::Help;
pub use components::List;
pub use components::Modal;
pub use components::Paginator;
pub use components::ProgressBar;
pub use components::Spinner;
pub use components::SpinnerStyle;
pub use components::StatusBar;
pub use components::Stopwatch;
pub use components::StyledList;
pub use components::StyledTable;
pub use components::Table;
pub use components::Tabs;
pub use components::TextArea;
pub use components::TextInput;
pub use components::Timer;
pub use components::Viewport;
pub use style::Color;
pub use style::ColorProfile;
pub use style::FloatingElement;
pub use style::Gradient;
pub use style::Grid;
pub use style::StyleBuilder;
pub use style::Theme;

Modules§

components
UI Components for building terminal interfaces
prelude
Prelude for convenient imports
style
Style system for Hojicha

Macros§

render_guard
Macro to guard render functions against invalid areas