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

@agentpost-tools/identityhound-ui

v0.4.0

Published

identityhound's components: the email-code sign-in, rendered in React and as Web Components on UI SDK, and as unstyled React Native building blocks (`./native`), all over the shared workflows in @agentpost-tools/identityhound-sdk/workflows.

Readme

IdentityHound UI

IdentityHound's email sign-in component handles sending and checking codes, resending, and errors. On the web, it's built on UI SDK: render it in React 19 or as Web Components, with the default look or your own layout. In React Native and Expo, ./native has unstyled parts that run the same sign-in, and a finished screen made of them is a file you copy into your app.

For React:

npm i @agentpost-tools/identityhound-ui @agentpost-tools/identityhound-react @ui-sdk/[email protected] @ui-sdk/[email protected] react react-dom

For Web Components:

npm i @agentpost-tools/identityhound-ui @ui-sdk/[email protected] @ui-sdk/[email protected]

You need an Agentpost workspace and a project key for a project that uses IdentityHound. In a browser app, pass its publishable key to the provider:

import { IdentityhoundProvider } from '@agentpost-tools/identityhound-react';
import { deviceSession } from '@agentpost-tools/identityhound-sdk/workflows';
import { EmailCodeSignIn } from '@agentpost-tools/identityhound-ui/react';
import '@ui-sdk/core/web.css';
import '@agentpost-tools/identityhound-ui/styles.css';

export function App({ publishableKey }: { publishableKey: string }) {
  return (
    <IdentityhoundProvider
      publishableKey={publishableKey}
      session={deviceSession({ storage: localStorage })}
    >
      <EmailCodeSignIn />
    </IdentityhoundProvider>
  );
}

For React Native:

npx expo install @agentpost-tools/identityhound-ui @agentpost-tools/identityhound-react @agentpost-tools/identityhound-sdk
curl -o components/email-code-sign-in.tsx https://agentpost.tools/r/identityhound/native/email-code-sign-in.tsx

That file is the finished screen, yours to change. Or compose the parts yourself. They take style and children as values or as functions of their state, and asChild renders your own component in a part's place:

import { Pressable, Text } from 'react-native';
import {
  EmailCodeSignInAlert,
  EmailCodeSignInCodeInput,
  EmailCodeSignInCodeStep,
  EmailCodeSignInEmailInput,
  EmailCodeSignInEmailStep,
  EmailCodeSignInRoot,
  EmailCodeSignInSend,
} from '@agentpost-tools/identityhound-ui/native';

export function SignIn() {
  return (
    <EmailCodeSignInRoot style={{ gap: 12 }}>
      <EmailCodeSignInEmailStep style={{ gap: 12 }}>
        <EmailCodeSignInEmailInput
          style={(state) => ({
            borderWidth: 1,
            borderColor: state.invalid ? 'red' : 'gray',
          })}
        />
        <EmailCodeSignInSend asChild>
          {(state) => (
            <Pressable>
              <Text>{state.pending ? 'Sending…' : 'Email me a code'}</Text>
            </Pressable>
          )}
        </EmailCodeSignInSend>
      </EmailCodeSignInEmailStep>
      <EmailCodeSignInCodeStep>
        <EmailCodeSignInCodeInput
          style={{ borderWidth: 1, letterSpacing: 8 }}
        />
      </EmailCodeSignInCodeStep>
      <EmailCodeSignInAlert style={{ color: 'red' }} />
    </EmailCodeSignInRoot>
  );
}

Email sign-in docs cover every renderer, session strategies, parts, events, and agent actions.

On 0.x, changes that break existing exports, types, props, parts, events, styles, or agent actions bump the minor version; other changes bump the patch.

Proprietary: use with Agentpost's hosted services under LICENSE.md.