ComponentsScrollAreaDocsApi ReferenceTagsv0.0.1-beta.50v0.0.1-beta.49v0.0.1-beta.48v0.0.1-beta.47v0.0.1-beta.46v0.0.1-beta.45v0.0.1-beta.44v0.0.1-beta.43v0.0.1-beta.42v0.0.1-beta.41v0.0.1-beta.40v0.0.1-beta.39v0.0.1-beta.38v0.0.1-beta.37v0.0.1-beta.36v0.0.1-beta.35v0.0.1-beta.34v0.0.1-beta.33v0.0.1-beta.32v0.0.1-beta.31v0.0.1-beta.30v0.0.1-beta.29v0.0.1-beta.28v0.0.1-beta.27v0.0.1-beta.26v0.0.1-beta.25v0.0.1-beta.24v0.0.1-beta.23v0.0.1-beta.22v0.0.1-beta.21v0.0.1-beta.20v0.0.1-beta.19v0.0.1-beta.18v0.0.1-beta.17v0.0.1-beta.16v0.0.1-beta.15v0.0.1-beta.14v0.0.1-beta.13v0.0.1-beta.12v0.0.1-beta.11v0.0.1-beta.10v0.0.1-beta.9v0.0.1-beta.8v0.0.1-beta.7v0.0.1-beta.6v0.0.1-beta.5v0.0.1-beta.4v0.0.1-beta.3v0.0.1-beta.2v0.0.1-beta.1 Installation NpmManualNPM packages are currently unstable and may cause issues. Use it at your own risk.npmpnpmyarnbunnpm install @mijn-ui/react-scroll-area Example Usage scroll-area-example.tsximport React from "react" import { ScrollArea } from "@mijn-ui/react-scroll-area" import { Separator } from "@mijn-ui/react-separator" const tags = Array.from({ length: 50 }).map( (_, i, a) => `v0.0.1-beta.${a.length - i}`, ) const ScrollAreaExample = () => { return ( <ScrollArea className="h-72 w-48 rounded-md border bg-surface"> <div className="p-4"> <h4 className="mb-4 text-sm font-medium leading-none">Tags</h4> {tags.map((tag) => ( <React.Fragment key={tag}> <div key={tag} className="text-sm"> {tag} </div> <Separator className="my-2" /> </React.Fragment> ))} </div> </ScrollArea> ) } export default ScrollAreaExampleEdit on GitHubPreviousRadioGroupNextSelect