Gathering detailed insights and metrics for @chakra-ui/portal
Gathering detailed insights and metrics for @chakra-ui/portal
Gathering detailed insights and metrics for @chakra-ui/portal
Gathering detailed insights and metrics for @chakra-ui/portal
@chakra-ui/c-portal
Chakra UI Vue | The portal allows us to teleport components to a differente location in the document component
@hackr/chakra-ui-portal
React component used to render children outside the DOM hierarchy of the parent component
@teste-ui/portal
React component used to render children outside the DOM hierarchy of the parent component
@incmix-ui/portal
Portal Component
Chakra UI is a component system for building products with speed ⚡️
npm install @chakra-ui/portal
Typescript
Module System
Node Version
NPM Version
93.9
Supply Chain
85.6
Quality
78.5
Maintenance
100
Vulnerability
100
License
@chakra-ui/panda-preset@3.7.0
Published on 04 Feb 2025
@chakra-ui/react@3.7.0
Published on 04 Feb 2025
@chakra-ui/cli@3.7.0
Published on 04 Feb 2025
@chakra-ui/react@3.6.0
Published on 02 Feb 2025
@chakra-ui/panda-preset@3.6.0
Published on 02 Feb 2025
@chakra-ui/cli@3.6.0
Published on 02 Feb 2025
TypeScript (82.73%)
MDX (16.47%)
JavaScript (0.65%)
CSS (0.08%)
HTML (0.07%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
74,479,644
Last Day
80,867
Last Week
353,159
Last Month
1,596,398
Last Year
26,413,166
38,438 Stars
10,455 Commits
3,350 Forks
202 Watching
12 Branches
678 Contributors
Minified
Minified + Gzipped
Latest Version
2.1.0
Package Id
@chakra-ui/portal@2.1.0
Unpacked Size
49.55 kB
Size
7.99 kB
File Count
22
NPM Version
9.5.1
Node Version
18.16.1
Publised On
18 Jul 2023
Cumulative downloads
Total Downloads
Last day
-2.4%
80,867
Compared to previous day
Last week
-15%
353,159
Compared to previous week
Last month
-3.2%
1,596,398
Compared to previous month
Last year
10.4%
26,413,166
Compared to previous year
A wrapper for rendering components in React Portals, with support for nested portals and stacking.
1yarn add @chakra-ui/portal 2 3# or 4 5npm i @chakra-ui/portal
1import { Portal, PortalManager } from "@chakra-ui/portal"
Render the PortalManager
once at the root of your application
1function App() { 2 return ( 3 <ThemeProvider> 4 <CSSReset /> 5 <PortalManager>{/* Your app goes here */}</PortalManager> 6 </ThemeProvider> 7 ) 8}
Portals are render into the portal manager's node by default not
document.body
.
1<div> 2 <p>Welcome</p> 3 <Portal>This text has been portaled</Portal> 4</div>
Nesting portal can be very useful to build complex widgets like nested menu, popovers, modal, etc.
1<Portal> 2 This is a portal. 3 <Portal>This is a nested portal</Portal> 4</Portal>
You can also portal elements into a custom containers. Simply pass a
containerRef
prop that points to the node
of that element.
1<> 2 <div ref={ref} /> 3 <Portal containerRef={ref}> 4 <h1>Hello world</h1> 5 </Portal> 6</>
No vulnerabilities found.
Reason
30 commit(s) and 8 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
6 existing vulnerabilities detected
Details
Reason
Found 4/23 approved changesets -- score normalized to 1
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
security policy file not detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Score
Last Scanned on 2025-02-03
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