Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@0xsequence/design-system
Advanced tools
[Live Storybook](https://0xsequence.github.io/design-system/)
Sequence Design System is a reusable component library uses across the Sequence product suite.
Components are written in React with Vanilla Extract, and its stories are written in Component Story Format.
pnpm add @0xsequence/design-system
The design system relies on these peer dependencies to be installed in your application:
pnpm add react
pnpm add react-dom
pnpm add framer-motion
Import the styles at the root of your app:
import '@0xsequence/design-system/styles.css'
Then wrap your application root with the ThemeProvider:
import { ThemeProvider } from '@0xsequence/design-system'
const root = ReactDOM.createRoot(
document.getElementById('root')
);
root.render(
<React.StrictMode>
<ThemeProvider>
<App />
</ThemeProvider>
</React.StrictMode>
);
Then import components from the design system to build your UI:
import { Box, Text, Button, useTheme } from '@0xsequence/design-system'
const App = () => (
const { theme, setTheme } = useTheme()
<Box gap="1"> // display="flex" is automatically applied when flex properties are added to a Box component
<Text variant="normal">Hello, World!</Text>
<Button variant="primary" label="Change theme" onClick={() => setTheme(theme === 'dark' ? 'light' : 'dark')} />
</Box>
)
Clone the Sequence Design System GitHub Project then start Storybook.
pnpm install && pnpm storybook
echo -n 0.0.0- ; date -u +%Y%m%d%H%M%S
)git commit -a -m <version>
pnpm publish --tag snapshot
Note: this package is not used in Storybook's UI, but the visual design is identical.
FAQs
[Live Storybook](https://0xsequence.github.io/design-system/)
The npm package @0xsequence/design-system receives a total of 915 weekly downloads. As such, @0xsequence/design-system popularity was classified as not popular.
We found that @0xsequence/design-system 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.