
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@itwin/itwinui-react
Advanced tools
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.
npm add @itwin/itwinui-react
Wrap your application entrypoint in ThemeProvider
and import styles.css
.
import { ThemeProvider } from '@itwin/itwinui-react';
import '@itwin/itwinui-react/styles.css';
export default function App() {
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)After setting up ThemeProvider and styles, import the component you want and start using it!
import { Button } from '@itwin/itwinui-react';
const Page = () => (
<Button>Hello!</Button>
);
Check out this template for a live interactive demo:
For a list of frequently asked questions, visit the wiki.
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.
Read our CHANGELOG.md to find recent changes.
FAQs
A react component library for iTwinUI
The npm package @itwin/itwinui-react receives a total of 28,047 weekly downloads. As such, @itwin/itwinui-react popularity was classified as popular.
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 0 open source maintainers collaborating on the project.
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.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.