![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
easy-skeleton-loader-vue
Advanced tools
Loader showing skeleton view while data is being loaded to improve UX.
<SkeletonShape type="text" animation="fade-in" />
<SkeletonCard animation="wave" />
<SkeletonUser animation="fade-in" />
Install easy-skeleton-loader-vue with :
npm install easy-skeleton-loader-vue --save
yarn add easy-skeleton-loader-vue
import 'easy-skeleton-loader-vue/styles.css';
<script setup lang="ts">
import { SkeletonShape } from 'easy-skeleton-loader-vue'
</script>
<template>
<h3>Avatar</h3>
<SkeletonShape type="avatar" animation="wave" />
<h3>Button</h3>
<SkeletonShape type="button" animation="fade-in" />
<h3>Text</h3>
<SkeletonShape type="text" animation="fade-in" />
<h3>Input</h3>
<SkeletonShape type="input" animation="fade-in" />
</template>
This would give u a diff. shapes :
Contributions are always welcome!
git checkout -b feature/FeatureName
)git commit -m 'Add some feature description'
)git push origin feature/FeatureName
)Prop | Type | Default | Options | Description |
---|---|---|---|---|
width | number, string | '100%' | The is the width of the loader, and can be either a number or string. This property would be overridden if the size props is set | |
height | number, string | 16px | The is the height of the loader, and can be either a number or string. This property would be overridden if the size props is set | |
type | string | 'text' | text, button, avatar, input | This is the type of the loader. It could be circle or rectangle shaped |
animation | string | 'fade-in' | fade-in, wave | The animation to be applied to the loader |
radius | number | 12 | This is used to determine the border radius of the loader | |
count | number | 1 | This is used to determine the number of the loader |
FAQs
A simple, customizable skeleton loader for your vue app
We found that easy-skeleton-loader-vue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.