Blocks
Katlux Blocks are high-level, production-ready UI compositions that combine multiple Katlux components into complete, domain-specific features. Each block is distributed as its own optional package and registers globally in your Nuxt application — no manual imports required.
Description
@katlux/block-charts)Interactive data visualization blocks powered by D3. Includes Line, Area, Bar, Pie, Scatter and Heatmap charts — all accepting an ADataProvider for live data feeds.
@katlux/block-ecommerce)Ready-made storefront UI blocks including product lists, filters and cart flows. Designed to integrate directly with server-side data providers for real-time inventory.
Install the block packages you need alongside the core toolkit:
Block packages are Nuxt modules — register them in nuxt.config.ts to auto-install all components globally:
Once installed, chart components are available globally. Pair them with any ADataProvider for reactive data:
Product list blocks connect to your API via a server-side data provider for real-time pagination and filtering: