Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

gravity-icons-svelte

Latest version: v1.0.1

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: ricky9w
0 Stars
0 Forks
4 Versions

Scan summary

gravity-icons-svelte was last scanned on 29 Nov 2026 at version 1.0.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions, all published within 2 days (28 and 29 Nov 2026).
  • Findings: No rules fired in version 1.0.1.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.1 LATEST 29 Nov 2026 No rules fired
1.0.0 28 Nov 2026 No rules fired
0.0.1 28 Nov 2026 No rules fired
0.0.0-stage 28 Nov 2026 Not shown

No rules fired in 1.0.1

Findings

Findings for v1.0.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.0.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

gravity-icons-svelte

The Gravity UI icons as Svelte 5 components. This is an unofficial port of @gravity-ui/icons, the icon set Yandex publishes for React. Every component is generated from that package's SVG files, so the icons, their names and their 16 × 16 grid are the same.

Browse the icons at gravity-ui.com/icons.

Install

npm install gravity-icons-svelte

The package needs Svelte 5.20 or later.

Use

Import each icon from its own file. The file name is the upstream SVG name in kebab case:

<script>
  import Folder from "gravity-icons-svelte/icons/folder";
  import FolderFill from "gravity-icons-svelte/icons/folder-fill";

  let open = $state(false);
</script>

<button aria-pressed={open} onclick={() => (open = !open)}>
  {#if open}<FolderFill />{:else}<Folder />{/if}
</button>

The package index also exports every icon under the upstream component name (import { Folder } from "gravity-icons-svelte"). Bundlers keep only the icons you import either way. Per-file imports also keep a development server from loading all of them.

Each icon renders one <svg>:

Prop Effect
size Width and height. A number is in pixels. Defaults to the icon's grid: 16, or 17 for alarm and alarm-fill.
class Added after the icon's own classes, gravity-icon and gravity-icon-<name>. Accepts any Svelte class value.
aria-label, aria-labelledby Give the icon a name: it gets role="img". Without a name it has aria-hidden="true".
Anything else Passed to the <svg>: style, event handlers, data-* attributes.

The drawings use currentColor, so an icon takes the colour of the text around it. Five icons with a notification dot (bell-dot, circle-question-dot, comments-dot, gear-dot, wallet-dot) draw the dot in a fixed red, as upstream does.

TypeScript types come with the package. IconProps describes the props, and every icon is a Component<IconProps>:

import type { Component } from "svelte";
import type { IconProps } from "gravity-icons-svelte";

let icon: Component<IconProps>;

Your own icons in the same style

Icon is the root every icon is drawn in. Draw on the same 16 × 16 grid and the result takes the same props, classes and accessibility behaviour:

<script lang="ts">
  import Icon from "gravity-icons-svelte/icon";
  import type { IconProps } from "gravity-icons-svelte";

  let props: IconProps = $props();
</script>

<Icon {...props} name="brain">
  <path fill="currentColor" d="…" />
</Icon>

Give name after the props, as the package's own icons do. name is also an attribute of <svg>, so a name passed in would otherwise replace the icon's own, together with its class, and TypeScript reports the clash.

Icon data

gravity-icons-svelte/metadata.json lists every icon with its file name, component name, style (regular or fill), keywords and categories, and records the version of @gravity-ui/icons the package was generated from.

Versions

The package has its own semantic version. When a release takes a new version of @gravity-ui/icons, its version goes up by the same level as upstream's: a patch for an upstream patch, a minor version for an upstream minor version, a major version for an upstream major version. Each GitHub release names the upstream version it contains, and so does metadata.json.

The release tags (vX.Y.Z) hold the versions. package.json in the repository keeps the placeholder 0.0.0-development; the release workflow sets the real version in the package it builds.

Development

You need Node.js 24 or later (.nvmrc), which runs the TypeScript scripts and tests directly.

npm ci
npm run build   # generates dist/ from node_modules/@gravity-ui/icons
npm run check   # TypeScript, and the consumer example in test/types against dist/
npm test        # every icon compiles and renders exactly its upstream SVG

scripts/generate.ts writes one component per upstream SVG, the index, the type declarations and metadata.json. scripts/svg.ts reads each SVG and accepts only the elements, attributes and values upstream uses (paths, groups, clip paths, colours and references to ids inside the icon). An SVG with anything else fails the build, so nothing that runs code or loads a resource reaches a consumer. Ids are rewritten per component instance with $props.id(), so two copies of an icon on one page never share an id.

Releases

Dependabot (.github/dependabot.yml) checks npm daily. A new version of @gravity-ui/icons gets a pull request of its own once it is seven days old. Minor and patch updates of the other development dependencies share one pull request, a major update gets its own, and the actions used by the workflows are updated weekly in another. ci.yml checks every pull request.

release.yml runs on every push to main:

  1. Check runs ci.yml on the commit.
  2. Decide the version runs scripts/release-plan.ts. It compares the version of @gravity-ui/icons in package-lock.json with the one in the last release tag's package-lock.json. When they differ, the next version is the last one raised by the same level. When they are equal, nothing is released and the run ends here.
  3. Build the package builds dist/, sets the version and packs the tarball.
  4. Publish to npm publishes that tarball through npm trusted publishing, which adds provenance. This job runs in the npm environment and is the only one with the OIDC token npm accepts; it runs nothing but npm.
  5. Create the GitHub release tags the commit vX.Y.Z and creates the release.

Merging a Dependabot pull request for @gravity-ui/icons therefore releases the package. To release a change of the package itself, run release.yml by hand from the Actions tab on main and choose the level; the plan takes it when it is higher than the upstream change.

npm accepts publishes for this package only from release.yml in the npm environment, and refuses token-based publishing, so no npm token exists.

License

MIT. The icons are © YANDEX LLC, also under the MIT License; both notices are in LICENSE.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm gravity-icons-svelte

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229