Skip to content

Spread

Sub-component for creating spread animation.

Usage

Simple Usage

preview
vue
<template>
  <p-spread :active="active">
    <IconFile />
  </p-spread>
</template>

<script setup>
  import IconFile from '@privyid/persona-icon/vue/document-filled/32.vue'
</script>

See Dropzone for more example.

API

Props

PropsTypeDefaultDescription
activeBooleanfalseEnable spread animation

Slots

NameDescription
defaultContent to spreading

Events

NameArgumentsDescription
There no event here

Released under the MIT License.