# @whizzes/svelte-placeholder

> Svelte Content Placeholder Replicate components with shadow

Latest version **0.1.1** (published 2024-11-26) · 0 weekly downloads

## Install

```sh
npm install @whizzes/svelte-placeholder
pnpm add @whizzes/svelte-placeholder
yarn add @whizzes/svelte-placeholder
bun add @whizzes/svelte-placeholder
```

## Health

**Score 35/100 (D)** — status: maintenance-mode.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2024-11-26 |
| First published | 2023-08-07 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 8.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | estebanborai |

## Links

- npm: https://www.npmjs.com/package/@whizzes/svelte-placeholder
- Repository: https://github.com/whizzes/svelte-placeholder
- Issues: https://github.com/whizzes/svelte-placeholder/issues
- npm.io page: https://npm.io/package/@whizzes/svelte-placeholder

## Recent versions

- 0.1.1 (latest) — 2024-11-26
- 0.1.0 — 2023-08-07

## README

<div>
  <div align="center" style="display: block; text-align: center;">
    <img alt="Example" src="docs/example.gif" width="120" />
  </div>
  <h1 align="center">Svelte Content Placeholder</h1>
  <h4 align="center">
    Replicate components with shadow versions while content is not
    yet available
  </h4>
</div>

<div align="center">

![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)

</div>

## 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
<script>
	import Placeholder from 'svelte-content-placeholder';
</script>

<Placeholder>
	<circle cx="50" cy="30" r="30" />
	<rect x="10" y="70" rx="3" ry="3" width="40" height="10" />
	<rect x="60" y="70" rx="3" ry="3" width="70" height="10" />
	<rect x="140" y="70" rx="3" ry="3" width="20" height="10" />
	<rect x="10" y="90" rx="3" ry="3" width="90" height="10" />
	<rect x="110" y="90" rx="3" ry="3" width="70" height="10" />
	<rect x="10" y="110" rx="3" ry="3" width="70" height="10" />
	<rect x="90" y="110" rx="3" ry="3" width="60" height="10" />
</Placeholder>
```

## Development

```bash
git clone git@github.com: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

---
_Source: https://npm.io/package/@whizzes/svelte-placeholder · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
