Skip to content

Latest commit

 

History

History

uui-modal

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

uui-modal

npm

Umbraco style modal component.

Installation

ES imports

npm i @umbraco-ui/uui-modal

Import the registration of <uui-modal> via:

import '@umbraco-ui/uui-modal';

When looking to leverage the UUIModalElement base class as a type and/or for extension purposes, do so via:

import { UUIModalElement } from '@umbraco-ui/uui-modal';

Usage

You need to spin up your own modal that extends the UUIModalElement. Use the <uui-modal-container> to host the modals.