Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@virtuslab/tetrisly-react
Advanced tools
🧩 Tetrisly offers user-friendly components designed for effortless integration. Plus, it's fully compatible with fully compatible with Tetrisly for Figma with a seamless design and development experience in mind.
If you want to know more about Tetrisly, check out our website: tetrisly.com
We've desided to use xstyled
for styling our components. If you are interested in our reasoning, check out our article on this topic: Style Wars: Tailwind vs. CSS-in-JS in Design Systems Implementation
Install tetrisly-react with npm (you can do the same with yarn, pnpm or any other package manager)
npm install @virtuslab/tetrisly-react
After installing the package, you need to wrap your application in the TetrislyProvider
component. This will provide the theme and other context to your application.
import { TetrislyProvider } from '@virtuslab/tetrisly-react';
function App() {
return (
<TetrislyProvider>
<YourApp />
</TetrislyProvider>
)
}
TetrislyProvider accepts optional prop theme
which can be used to override default theme.
You can check out how this object looks like here: Tetrisly Theme
import { TetrislyProvider } from '@virtuslab/tetrisly-react';
function App() {
return (
<TetrislyProvider theme={{ colors: { primary: 'red' } }}>
<YourApp />
</TetrislyProvider>
)
}
import { Button } from '@virtuslab/tetrisly-react';
function App() {
return <Button label="Hello Tetrisly" />
}
Clone the project
git clone https://github.com/VirtusLab/tetrisly-react
Go to the project directory
cd tetrisly-react
Install dependencies
yarn install
Start the storybook server
yarn storybook
To run tests, run the following command
yarn test
If you want to dive deeper into the components Tetrisly offers, check out our official documentation: Tetrisly Docs
You can also check out our Storybook, which is our Documentation for React components (now in progress): Tetrisly Storybook
If at any point you need help, feel lost, or have some feedback for us, you can create issues on our GitHub repository, or reach out to us on out Discord Server: Tetrisly Discord
If you want to share with us your thoughts on Tetrisly, or showcase what you have built with it (it could be any aspect of our product, not only the React library), you can do it here: Tetrisly Testimonials Form
We are using the Apache License 2.0 for our library of components
FAQs
Tetrisly offers user-friendly components designed for effortless integration. Plus, it's fully compatible with fully compatible with Tetrisly for Figma with a seamless design and development experience in mind.
The npm package @virtuslab/tetrisly-react receives a total of 188 weekly downloads. As such, @virtuslab/tetrisly-react popularity was classified as not popular.
We found that @virtuslab/tetrisly-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.