npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@create-ui/assets

v0.5.2

Published

SVG asset components for Create UI — banks, brands, flags, payments, social icons as typed React components.

Readme

@create-ui/assets

900+ production-ready SVG marks as fully typed React components. Banks, brands, flags, payments, app store badges, and social icons, ready to drop into any React app.

npm version types license

This is the official asset library for Create UI. Every mark is a real React component with forwardRef, full SVGProps typing, and brand-accurate colors. Import by category, style with your own utilities, and ship only what you use. No sprite sheets, no runtime config, no font hacks.

Highlights

  • 906 first-party components across 6 categories, plus curated re-exports of two popular icon sets.
  • Fully typed. Each component accepts every SVGProps<SVGSVGElement> prop and forwards its ref.
  • Tree-shakeable. Per-subpath entry points and "sideEffects": false mean unused assets never reach your bundle.
  • ESM and CJS. Ships both module formats with generated .d.ts declarations.
  • Brand-accurate. Colors are baked in per the official brand guidelines, so a Visa mark looks like Visa everywhere.
  • Light and dark ready. Many marks ship Black and White variants for placement on any background.

Install

pnpm add @create-ui/assets
# npm install @create-ui/assets
# yarn add @create-ui/assets
# bun add @create-ui/assets

Requires react >= 18 as a peer dependency. Node >= 18 for tooling.

Categories

Each category is its own import subpath, so you only pull in what you reference.

| Subpath | Count | What it contains | Example exports | |---|---|---|---| | @create-ui/assets/badges | 36 | App store and marketplace badges | AppStore, AppStoreBlack, GooglePlay, ChromeWebStore | | @create-ui/assets/banks | 50 | Bank, neobank, fintech, and exchange logos | BankOfAmerica, Barclays, DeutscheBank, CheckoutCom | | @create-ui/assets/brands | 132 | Tech and product brand logos | Docker, Notion, React, Vue, AdobeIllustrator | | @create-ui/assets/flags | 262 | Country and territory flags | Turkey, UnitedStates, Germany, Japan, AntiguaAndBarbuda | | @create-ui/assets/payments | 276 | Card schemes and payment provider marks | VisaColor, MastercardColor, ApplePayColor, StripeColor | | @create-ui/assets/social | 150 | Social and platform icons | Github, Apple, AppleBlack, Behance, Bluesky | | @create-ui/assets/icons | re-export | General-purpose UI icons | re-exports @remixicon/react | | @create-ui/assets/crypto | re-export | Crypto tokens and networks | re-exports @web3icons/react |

Component names are PascalCase. Flags use the full country or territory name (Turkey, UnitedStates, Afghanistan). Marks that ship in more than one treatment add a suffix, so you pick the variant you want rather than a bare name: VisaColor, VisaBlack, VisaWhite, VisaLight, VisaLogotype, VisaBadge.

Quick start

import { VisaColor, MastercardColor } from "@create-ui/assets/payments"
import { Turkey } from "@create-ui/assets/flags"

export function Checkout() {
  return (
    <div className="flex items-center gap-2">
      <VisaColor width={32} height={20} />
      <MastercardColor width={32} height={20} />
      <Turkey width={20} height={20} aria-label="Türkiye flag" />
    </div>
  )
}

Sizing and styling

Source dimensions are stripped during the build, so every component renders at its CSS or intrinsic default until you give it a size. Set one with a utility class or explicit width and height:

import { Docker } from "@create-ui/assets/brands"

<Docker className="size-6" />
<Docker width={48} height={48} />

Because each mark carries its official brand colors inline, color is fixed by design and does not follow text-* or color utilities. This keeps logos correct and compliant wherever they appear. When you need a logo on a contrasting surface, reach for the Black or White variant instead of trying to recolor it.

Accessibility

Components pass through every accessibility attribute. Label marks that carry meaning, and hide purely decorative ones:

<VisaColor role="img" aria-label="Visa" />
<UnitedStates aria-hidden width={16} height={16} />

Light and dark variants

Many badges, social icons, and payment marks ship explicit Black and White variants tuned for placement on light or dark backgrounds:

import { AppStoreBlack, AppStoreWhite } from "@create-ui/assets/badges"

function StoreBadge({ theme }: { theme: "light" | "dark" }) {
  return theme === "dark" ? <AppStoreWhite /> : <AppStoreBlack />
}

Icons and crypto

The icons and crypto subpaths are curated re-exports, so the full upstream API is available under one install:

import { RiHeartLine, RiSearchLine } from "@create-ui/assets/icons"
import { TokenBTC, NetworkEthereum } from "@create-ui/assets/crypto"

See the Remix Icon and Web3 Icons docs for the complete sets and their props.

TypeScript

Types ship with the package, no @types install required. Every component is a ForwardRefExoticComponent that accepts all SVG props plus a ref, so editors autocomplete className, width, style, event handlers, and aria-* out of the box.

import type { SVGProps } from "react"
import { Notion } from "@create-ui/assets/brands"

const Logo = (props: SVGProps<SVGSVGElement>) => <Notion {...props} />

Tree-shaking

The package is marked "sideEffects": false and exposes a separate entry point per category, built as ESM and CJS. Modern bundlers drop everything you do not import, so referencing two flags out of 262 ships only those two.