Hello there đź‘‹

Thanks for stopping by! We use cookies to help us understand how you interact with our website.

By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.

The @streamlit/component-v2-lib package provides TypeScript type definitions and utilities for building Streamlit custom components using the v2 API.

Install the package from npm:

npm i @streamlit/component-v2-lib
  • Package name: @streamlit/component-v2-lib
  • Registry: npm
  • Purpose: TypeScript type aliases and utilities for custom components v2

This package enables type-safe development when creating custom Streamlit components with modern JavaScript frameworks.

forum

Still have questions?

Our forums are full of helpful information and Streamlit experts.