Compatibility
PrimeBlocks library can be used with any version of PrimeFaces.
What is a Block?
A UI block is a set of html elements styled with the PrimeFlex CSS utility library. A block can also contain PrimeFaces components in addition to regular elements. The blocks are designed to be used easily by simply moving the block code to your own application. This is achieved by defining the styling in the markup without using a custom css declaration. In cases where a block requires interactivity such as toggling the visibility of a menu or a sidebar, defining a data-pb-styleclass attribute combined with primeblocks.js manages the events and animations. This script simply adds interactivity to elements that have this attribute.
![Image](https://i2.wp.com/www.primefaces.org/wp-content/uploads/2021/09/hashnode-primeblocks-jsf-1.0.02x.jpg?resize=1060%2C557&ssl=1)
What can be done with Blocks?
Blocks are meant to be used together to build landing pages, dashboards or any other content you can imagine.
Pricing
Whether you are an individual or a member of a team, PrimeBlocks are available for affordable prices. Please visit the pricing page for details.
Roadmap
Current set of blocks are just the beginning, our goal is to provide over 400 blocks by the end of 2022. Always bet on Prime!