channel3-ai/channel3-ui
Full catalog, install commands, and contributor guide on GitHub.
Install
components/ folder. They work directly with the Channel3 SDK — pass in a ProductDetail from search or a product fetch with no extra mapping step.
Blocks
Two all-in-one blocks cover most shopping UIs:product-search
A full search page in one component: search bar, filters (brand, category, color, price), and a results grid that loads more as you scroll.
product-details
A full product page: image gallery, variant picker (with in-stock and out-of-stock states), merchant offers, price history chart, and a similar-products carousel.
Building blocks
Every part of the blocks above is also available on its own:Hooks
The hooks handle the logic behind the UI. Use them with your own markup when the default components don’t match your design.use-product-search
Tracks the search query, filters, and pagination. Returns results, a loading flag, and functions to update filters or load more.
use-variant-selection
Handles variant picking: which options are available, which combinations exist, and what happens when the user changes a selection. Returns the current selected state after each server call — you don’t have to compare the request and response yourself.
use-async-options
Loads category and brand filter options when needed, so filter panels stay fast even with large catalogs.
How it fits together
Components take Channel3 data as props and call your callbacks when the user does something. They don’t call the API or read your key themselves. Fetch on your server whereCHANNEL3_API_KEY lives, then pass the results down. That keeps your key safe and makes each component easy to test on its own.
Quickstart
Install the Channel3 skill and let your agent wire the components in for you.