iTwinUI-react is a React component library for iTwinUI.
The goal of this package is to provide React components that make it easier to use the styles from @itwin/itwinui-css. Check out the documentation website to detailed documentation and examples of all components.
🆕 Check out the v3 migration guide if you're upgrading from an older version.
Installation
npm add @itwin/itwinui-react
Setup
Wrap your application entrypoint in ThemeProvider and import styles.css.
import { ThemeProvider } from'@itwin/itwinui-react';
import'@itwin/itwinui-react/styles.css';
exportdefaultfunctionApp() {
return (
<><ThemeProvider>
{/* Your components go here. */}
</ThemeProvider></>
);
}
ThemeProvider has a theme prop which accepts one of the following values:
"light"
"dark"
"os" (respects the color scheme of the operating system)
"inherit" (default)
Usage
After setting up ThemeProvider and styles, import the component you want and start using it!
Check out this template for a live interactive demo:
FAQ
For a list of frequently asked questions, visit the wiki.
Contributing
We welcome you to contribute and make this UI design system better. You can submit feature requests or bugs by creating an issue.
Please read our CONTRIBUTING.md for more information.
We found that @itwin/itwinui-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 5 open source maintainers collaborating on the project.
Package last updated on 18 Jul 2025
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Socket CEO Feross Aboukhadijeh and a16z partner Joel de la Garza discuss vibe coding, AI-driven software development, and how the rise of LLMs, despite their risks, still points toward a more secure and innovative future.