Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whizzes/svelte-placeholder
Customizable content placeholders to render in place of components while loading
https://github.com/whizzes/svelte-placeholder
content loader placeholder svelte
Last synced: about 2 months ago
JSON representation
Customizable content placeholders to render in place of components while loading
- Host: GitHub
- URL: https://github.com/whizzes/svelte-placeholder
- Owner: whizzes
- License: mit
- Created: 2022-06-07T00:57:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-22T09:00:12.000Z (11 months ago)
- Last Synced: 2024-04-24T14:58:00.440Z (8 months ago)
- Topics: content, loader, placeholder, svelte
- Language: Svelte
- Homepage: https://www.npmjs.com/package/svelte-content-placeholder
- Size: 667 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Svelte Content Placeholder
Replicate components with shadow versions while content is not
yet available
![Build](https://github.com/whizzes/svelte-placeholder/workflows/build/badge.svg)
![Lint](https://github.com/whizzes/svelte-placeholder/workflows/lint/badge.svg)
![Test](https://github.com/whizzes/svelte-placeholder/workflows/test/badge.svg)
[![Version](https://img.shields.io/npm/v/svelte-content-placeholder.svg?style=flat)](https://www.npmjs.com/package/svelte-content-placeholder)
[![Downloads](https://img.shields.io/npm/dm/svelte-content-placeholder.svg?style=flat)](https://www.npmjs.com/package/svelte-content-placeholder)## Getting Started
To use the Svelte Placeholder library in your Svelte application, you can install it using npm:
```bash
npm install @whizzes/svelte-placeholder
```## Usage
```svelte
import Placeholder from 'svelte-content-placeholder';
```
## Development
```bash
git clone [email protected]:whizzes/svelte-notifications.git
cd ./svelte-notifications
npm i
npm run dev
```## Contributing
Feel free to open pull requests or issues on [our GitHub Repository][1].
[1]: https://github.com/whizzes/svelte-placeholder