TwicPics components is a library of components to provide context-aware optimization for images and videos. They come with best practices out of the box: lazy loading, Low Quality Image Placeholders, optimized Cumulative Layout Shift (CLS), and more.
This project is available as an NPM package:
# with yarnyarn add @twicpics/components# or with NPMnpm install @twicpics/components
This project uses yarn as dependency manager.
yarn build. Dependencies are installed automatically.