@svelkit/chip
Version:
> A chip component for [svelte] (part of [svelkit])
58 lines (38 loc) • 1.58 kB
Markdown
# @svelkit/chip
> A chip component for [svelte] (part of [svelkit])
[](https://github.com/kenoxa/@svelkit/chip/blob/main/LICENSE)
[](https://www.npmjs.com/package/@svelkit/chip)
[](https://changelogs.xyz/@svelkit/chip)
[](https://bundlephobia.com/result?p=@svelkit/chip)
<!-- prettier-ignore-start -->
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
- [Installation](#installation)
- [Usage](#usage)
- [License](#license)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
<!-- prettier-ignore-end -->
## Installation
```sh
npm install @svelkit/chip
```
And then import it:
```js
// using es modules
import Chip from '@svelkit/chip'
// common.js
const Chip = require('@svelkit/chip')
```
Alternatively use [UNPKG](https://unpkg.com/@svelkit/chip/) or [jsDelivr](https://cdn.jsdelivr.net/npm/@svelkit/chip/) packages.
Hotlinking from unpkg: _(no build tool needed!)_
```js
import chip from 'https://unpkg.com/@svelkit/chip?module'
```
## Usage
```html
<Chip>content</Chip>
```
## License
`svelkit` is open source software [licensed as MIT](https://github.com/kenoxa/svelkit/blob/main/LICENSE).
[svelkit]: https://svelkit.js.org/
[svelte]: https://svelte.dev/