Overview:
KaiUI is a component library for building KaiOS apps. It provides a collection of components and views that are navigable using a phone’s d-pad and softkeys.
Features:
- Header: Displays a header with options for navigation.
- Tabs: Allows for easy navigation between different sections or views.
- SoftKey: Provides softkeys for performing specific actions.
- Text List Item: Displays a list item with text content.
- Body Text List Item: Displays a list item with body text content.
- Icon List Item: Displays a list item with an icon.
- Arrow List Item: Displays a list item with arrow navigation.
- Separator: Adds a separator between list items.
- Checkbox: Allows for selecting multiple options from a list.
- Radio Button: Allows for selecting a single option from a list.
- Progress-Download: Displays a progress bar for download tasks.
- Progress-Buffering: Displays a progress bar for buffering tasks.
- Slider: Allows for selecting a value within a range.
- Button: Provides a button for triggering actions.
- Input: Allows for user input.
Installation:
To use KaiUI, follow these steps:
- Clone the KaiUI repository.
- Manually update the hashes of the JS and CSS files in the
index.htmlfile. - Build the KaiUI library.
- Use the built library in your KaiOS app.
Summary:
KaiUI is a component library designed for building KaiOS apps. It provides a range of components and views that are optimized for navigation using a phone’s d-pad and softkeys. The library is currently not available on NPM, so it requires manual installation and configuration. However, it offers a variety of useful features such as headers, tabs, list items, progress bars, and more. By using KaiUI, developers can create user-friendly and interactive KaiOS applications.