sv-popup

0.5.3 • Public • Published

sv-popup

A simple popup/modal for svelte/sveltekit apps.

Features

Installation

npm i -D sv-popup

Usage

<script>
  import { Modal, Content, Trigger } from "sv-popup"
</script>

<Modal>
  <Content>
    <h1>Hello</h1>
  </Content>
  <Trigger>
    <button>Open Modal</button>
  </Trigger>
</Modal>

<Modal basic>
  <Content>
    <h1>Hello 2</h1>
  </Content>
  <Trigger>
    <button>Open Modal 2</button>
  </Trigger>
</Modal>

Demo

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.5.3174latest

Version History

VersionDownloads (Last 7 Days)Published
0.5.3174
0.5.20
0.5.03
0.2.51
0.2.40
0.2.30
0.2.20
0.2.10
0.2.00
0.1.30
0.1.20
0.1.10
0.1.00
0.0.200
0.0.190
0.0.180
0.0.170
0.0.160
0.0.150
0.0.140
0.0.130
0.0.120
0.0.110
0.0.100
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i sv-popup

Weekly Downloads

178

Version

0.5.3

License

none

Unpacked Size

33.2 kB

Total Files

45

Last publish

Collaborators

  • webjeda