# @internetarchive/icon-bookmark

> Multi-state SVG bookmark icon component

Latest version **1.4.1** (published 2026-04-30) · AGPL-3.0-only license · 0 weekly downloads

## Install

```sh
npm install @internetarchive/icon-bookmark
pnpm add @internetarchive/icon-bookmark
yarn add @internetarchive/icon-bookmark
bun add @internetarchive/icon-bookmark
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.4.1 |
| Published | 2026-04-30 |
| First published | 2020-09-30 |
| Weekly downloads | 0 |
| License | AGPL-3.0-only |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 44.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Shane Riley, Internet Archive |
| Maintainers | bfalling, mitraardron, vbanos, kngenie, iisa, cdrini, nsharma123, dualcnhq, latonv, ibnesayeed, tracey.pooh, jim-at-ia, jeffwklein, rebecca-shoptaw, jbuckner, dhallia |

## Links

- npm: https://www.npmjs.com/package/@internetarchive/icon-bookmark
- npm.io page: https://npm.io/package/@internetarchive/icon-bookmark

## Dependencies (1)

- [lit](https://npm.io/package/lit.md) ^2.0.2 || ^3.0.0

## Recent versions

- 1.4.1 (latest) — 2026-04-30
- 1.4.0-alpha.0 (canary) — 2022-12-29
- 1.4.0 — 2026-01-23
- 1.3.4 — 2022-12-29
- 1.3.2 — 2021-11-16
- 1.3.2-alpha.0 — 2021-11-16
- 1.3.1 — 2021-11-11
- 1.3.0 — 2021-11-11
- 1.2.1-alpha.7 — 2021-11-10
- 1.2.1-alpha.6 — 2021-11-10
- 1.1.3 — 2020-09-30

## README

# \<icon-bookmark>

This webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.

## Installation
```bash
npm i icon-bookmark
```

## Usage
```html
<script type="module">
  import 'icon-bookmark/icon-bookmark.js';
</script>

<icon-bookmark></icon-bookmark>
```

## Linting with ESLint, Prettier, and Types
To scan the project for linting errors, run
```bash
npm run lint
```

You can lint with ESLint and Prettier individually as well
```bash
npm run lint:eslint
```
```bash
npm run lint:prettier
```

To automatically fix many linting errors, run
```bash
npm run format
```

You can format using ESLint and Prettier individually as well
```bash
npm run format:eslint
```
```bash
npm run format:prettier
```

## Testing with Karma
To run the suite of karma tests, run
```bash
npm run test
```

To run the tests in watch mode (for <abbr title="test driven development">TDD</abbr>, for example), run

```bash
npm run test:watch
```


## Tooling configs

For most of the tools, the configuration is in the `package.json` to reduce the amount of files in your project.

If you customize the configuration a lot, you can consider moving them to individual files.

## Local Demo with `es-dev-server`
```bash
npm start
```
To run a local development server that serves the basic demo located in `demo/index.html`

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