Gathering detailed insights and metrics for @react-md/link
Gathering detailed insights and metrics for @react-md/link
Gathering detailed insights and metrics for @react-md/link
Gathering detailed insights and metrics for @react-md/link
React material design - An accessible React component library built from the Material Design guidelines in Sass
npm install @react-md/link
Typescript
Module System
Node Version
NPM Version
@react-md/core@6.3.1
Updated on Jul 11, 2025
@react-md/core@6.3.0
Updated on Jul 04, 2025
@react-md/core@6.2.1
Updated on Jul 03, 2025
@react-md/core@6.2.0
Updated on Jun 13, 2025
@react-md/core@6.1.0
Updated on May 30, 2025
@react-md/core@6.0.2
Updated on May 24, 2025
TypeScript (89.84%)
MDX (5.71%)
SCSS (4.33%)
JavaScript (0.12%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2,337 Stars
6,519 Commits
301 Forks
53 Watchers
12 Branches
68 Contributors
Updated on Jul 17, 2025
Latest Version
5.1.6
Package Id
@react-md/link@5.1.6
Unpacked Size
62.76 kB
Size
14.16 kB
File Count
37
NPM Version
lerna/4.0.0/node@v18.18.0+x64 (linux)
Node Version
18.18.0
Published on
Dec 11, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
6
4
Create simple links from react-md with a customizable theme. The provided Link
component can easily integrate with
react-router,
@reach/router, and theoretically any other
routing library if needed.
This package also exports a great screen-reader and keyboard accessibility
helper: SkipToMainContent
that will allow a user to immediately jump to the
main content of the page.
1npm install --save @react-md/link
It is also recommended to install the following packages to the full experience.
1npm install --save @react-md/theme @react-md/typography
You should check out the full documentation for live examples and more customization information, but an example usage is shown below.
1import type { ReactElement } from "react"; 2import { render } from "react-dom"; 3import { 4 Link as ReactRouterLink, 5 LinkProps as ReactRouterLinkProps, 6 BrowserRouter, 7 Routes, 8 Route, 9} from "react-router-dom"; 10import { Link as ReactMDLink, LinkProps as RMDLinkProps } from "@react-md/link"; 11 12export type LinkProps = RDMLinkProps & ReactRouterLinkProps; 13 14function Link(props: linkProps): ReactElement { 15 return <ReactMDLink {...props} component={ReactRouterLink} />; 16} 17 18function Home(): ReactElement { 19 return <h1>Home page!</h1>; 20} 21 22function About(): ReactElement { 23 return <h1>About page!</h1>; 24} 25 26function App(): ReactElement { 27 return ( 28 <BrowserRouter> 29 <Link to="/">Home</Link> 30 <Link to="/about">About</Link> 31 32 <Routes> 33 <Route path="/" element={<Home />} /> 34 <Route path="about" element={<About />} /> 35 </Routes> 36 </BrowserRouter> 37 ); 38} 39 40render(<App />, document.getElementById("root"));
If you are using the @react-md/layout
package, this component is already
built-in to help out! However, this component can also be used within full page
dialogs or custom screens to be able to jump to a specific element in the page.
1import type { ReactElement } from "react"; 2import { render } from "react-dom"; 3import { 4 Dialog, 5 DialogHeader, 6 DialogContent, 7 DialogFooter, 8} from "@react-md/dialog"; 9import { SkipToMainContent } from "@react-md/link"; 10 11const noop = (): void => {}; 12 13function App(): ReactElement { 14 return ( 15 <Dialog 16 id="full-page-dialog" 17 aria-labelledby="full-page-dialog-title" 18 visible 19 onRequestClose={noop} 20 > 21 <DialogHeader> 22 <SkipToMainContent mainId="full-page-dialog-content" /> 23 {/* pretend 100 focusable things before main content */} 24 </DialogHeader> 25 <DialogContent id="full-page-dialog-content"> 26 <p>Here is some content</p> 27 </DialogContent> 28 </Dialog> 29 ); 30} 31 32render(<App />, document.getElementById("root"));
No vulnerabilities found.
Reason
30 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
SAST tool detected: CodeQL
Details
Reason
no binaries found in the repo
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
15 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More