Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@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 demo website to see the components in action.
š iTwinUI v3 is now available! To upgrade from an older version, check out the v3 migration guide.
npm install @itwin/itwinui-react
yarn add @itwin/itwinui-react
Import the component you want and start using it!
import { Button } from '@itwin/itwinui-react';
const App = () => (
<Button>Hello!</Button>
);
Yes, that's really all you need as you can see in this live interactive demo:
By default, all components use the light theme, but we recommend wrapping your root element with ThemeProvider
. You can pass one of the following values to its theme
prop:
light
(default)dark
os
(which respects the color scheme of the operating system)import { ThemeProvider } from '@itwin/itwinui-react';
const App = () => (
<>
<ThemeProvider theme='dark'>
{/* Your components go here. */}
</ThemeProvider>
</>
);
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 10,620 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 5 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.