Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@semcore/scroll-area
Advanced tools
##Basic use
<ScrollArea style={{ width: 300, height: 300 }}>
{[...new Array(1000)].map((_, ind) => (
<div key={ind}>....</div>
)}
</ScrollArea>
##Custom use
<ScrollContainer>
{(props) => (
<ScrollPane {...props} style={{ maxWidth: width, height: 300 }}>
{[...new Array(100)].map((_, ind) => (
<div
key={ind}
style={{ background: ind === 32 ? '#f00' : '#fff', width: '900px' }}
>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eos est inventore
laboriosam minus officiis omnis possimus vero? Assumenda cum necessitatibus
perspiciatis quia vitae. Asperiores aut delectus ea ipsum nam! Doloremque?
</div>
))}
</ScrollPane>
<ScrollBar
orientation="vertical"
{...props}
style={{
top: 0,
right: -10,
width: '10px',
background: 'rgba(200, 200,200, 0.5)',
}}
sliderProps={{
style: {
width: '10px',
height: '100px',
background: 'pink',
},
}}
/>
)}
</ScrollContainer>
FAQs
Semrush ScrollArea Component
The npm package @semcore/scroll-area receives a total of 4,621 weekly downloads. As such, @semcore/scroll-area popularity was classified as popular.
We found that @semcore/scroll-area 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.