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

ak-app-pick

v1.0.0

Published

Animated grid → hero fly-out picker for app icon / brand variants (React Native + Reanimated).

Readme

ak-app-pick

Animated grid → hero app-icon / brand-variant picker for React Native + Expo, built with Reanimated springs: fly-out preview, retract-to-slot, cross-row swaps, neighbor push, and safe-area-aware chrome.


Install

npm install ak-app-pick \
  react-native-svg \
  react-native-reanimated \
  react-native-safe-area-context \
  @expo/vector-icons

That's it. No Metro config changes. No TypeScript path setup.


Quickstart (3 steps)

1. Define your rows in JSONprimaryColor required, secondary/tertiary optional:

import { buildTeamsFromJsonRows } from 'ak-app-pick';

const teams = buildTeamsFromJsonRows([
  { id: 'brand', label: 'My Brand', primaryColor: '#004C54', secondaryColor: '#A5ACAF' },
  { id: 'alt',   label: 'Alt',      primaryColor: '#FF6B00' },
]);

2. Point it at your icon — paste the d="…" from your SVG:

import { createThemedPathRenderer } from 'ak-app-pick';

const renderVariant = createThemedPathRenderer({
  pathD: 'M12 2C6.48 2 2 6.48 ...',  // ← your SVG path d string
  viewBox: '0 0 64 64',
  boardSize: 64,
});

3. Drop in the component:

import { AppIconPickerExperience } from 'ak-app-pick';

<AppIconPickerExperience
  layout="embedded"
  teams={teams}
  renderVariant={renderVariant}
  committedSelectionId={selectedId}
  onCommit={setSelectedId}
/>

Full walkthrough → GETTING_STARTED.md
JSON schema + custom icon options → CONFIGURATION.md


How tiles are generated

Each JSON row auto-generates up to 6 tiles:

| # | Background | Icon mark | |---|-----------|-----------| | 1 | #000 black | primaryColor | | 2 | #fff white | primaryColor | | 3 | primaryColor | secondaryColor (if given) | | 4 | secondaryColor | primaryColor (if given) | | 5 | primaryColor | tertiaryColor (if given) | | 6 | tertiaryColor | primaryColor (if given) |


What you supply vs what the package does

| You supply | Package handles | |-----------|-----------------| | teams array (JSON or hand-built) | Grid layout, scroll, paging | | renderVariant(variant, w, h) → JSX | Fly-out hero animation | | committedSelectionId + onCommit | Retract-to-slot, cross-swap | | (optional) expo-haptics installed | Neighbor push, safe area |


Peer dependencies

| Package | Required | |---------|----------| | react, react-native | yes | | react-native-reanimated ≥ 3 | yes | | react-native-safe-area-context | yes | | @expo/vector-icons | yes | | react-native-svg | yes (for outline helper) | | expo-haptics | optional |


License

MIT — see LICENSE.