Socket
Book a DemoInstallSign in
Socket

@oku-ui/portal

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oku-ui/portal

Portals provide a first-class way to render children into a DOM node that exists outside the DOM hierarchy of the parent component.

latest
Source
npmnpm
Version
0.6.1
Version published
Weekly downloads
1
-98%
Maintainers
2
Weekly downloads
 
Created
Source

Portal

Portals provide a first-class way to render children into a DOM node that exists outside the DOM hierarchy of the parent component.

@oku-ui/portal

Version | Downloads | Website

Installation

$ pnpm add @oku-ui/portal

Documentation

Usage

<script setup lang="ts">
import { OkuPortal } from '@oku-ui/portal'
</script>

<template>
  <OkuPortal>
    <h1>This content is rendered in a portal (another DOM tree)</h1>
  </OkuPortal>
</template>

...

FAQs

Package last updated on 06 Jan 2024

Did you know?

Socket

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.

Install

Related posts