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

motus-ui

v0.1.3

Published

Expressive React components with polished motion and clear interaction feedback.

Downloads

680

Readme

Motus UI

npm version website license: MIT

Motion-focused React components for portfolios and creative interfaces. Motus includes animated text, tactile actions, navigation, project displays, and ambient visual effects.

Built with React, TypeScript, Tailwind CSS, GSAP, Motion, and Lottie. The package is ESM-only and includes TypeScript declarations.

Explore every component in the live Motus UI showcase.

Install

npm install motus-ui

Import the stylesheet once in your application entry file:

import 'motus-ui/styles.css';

Motus supports React 18.2 and React 19.

Quick start

import { CopyLinkButton, TextMotion } from 'motus-ui';
import 'motus-ui/styles.css';

export default function App() {
  return (
    <main>
      <TextMotion text="Selected work" variant="ripple" />
      <CopyLinkButton value="https://example.com/project" />
    </main>
  );
}

AI skill

Install the Motus UI skill so a compatible coding agent can select components, wire their APIs, and troubleshoot integration details:

npx skills add https://github.com/johnmamanao/motus-ui --skill motus-ui

Usage

Text motion

import { TextMotion } from 'motus-ui';

<TextMotion text="Creative direction" variant="cascade" />;

Available variants:

lift, hinge, drift, ripple, stretch, cascade, magnet, arc, roll, echo, shutter, orbit, weight, sweep, scatter, pulse, drop, fan, and ticker.

The ticker variant transitions between two values:

<TextMotion text="Selected work" alternateText="Creative code" variant="ticker" />

Copy link

import { CopyLinkButton } from 'motus-ui';

<CopyLinkButton value="https://example.com/project" />;

Pass onCopy to replace the built-in browser clipboard behavior.

Resume download

The download begins after the transfer animation completes.

import { ResumeDownloadButton } from 'motus-ui';

<ResumeDownloadButton href="/resume.pdf" filename="jane-doe-resume.pdf" fileLabel="PDF · 184 KB" />;

Pass onDownload when the file comes from an API or another custom source.

Press button

import { ClickKey } from 'motus-ui';

<ClickKey onAction={() => console.log('Open project')} />;

ClickKey provides tactile press-and-release feedback with sound. Audio begins only after user interaction.

Portfolio components

import { ContactCard, ExpandableTab, PortfolioNav, ProjectCard, ProjectList, SkillsList, TechStack } from 'motus-ui';

These pieces can be rendered directly without required props. LiquidGlassCard and RouteLens are also exported for composed layouts.

Background effects

import { HalftoneBackground, LightBackground, SilkBackground } from 'motus-ui';

Place an effect inside a positioned container and layer your content above it.

API

TextMotion

| Prop | Type | Default | Description | | --------------- | ------------------- | ----------------- | ----------------------------- | | text | string | 'SELECTED WORK' | Primary text to display | | alternateText | string | 'CREATIVE CODE' | Second value used by ticker | | variant | TextMotionVariant | 'lift' | Motion style |

CopyLinkButton

| Prop | Type | Default | Description | | ---------- | ------------------------------------------ | ---------------------------- | ----------------------------- | | value | string | 'https://example.com/work' | Value copied to the clipboard | | onCopy | (value: string) => void \| Promise<void> | Browser clipboard | Custom copy handler | | disabled | boolean | false | Disables the action |

ResumeDownloadButton

| Prop | Type | Default | Description | | ------------ | ----------------------------- | ---------------- | ----------------------- | | href | string | '/resume.pdf' | File URL | | filename | string | 'resume.pdf' | Downloaded filename | | fileLabel | string | 'PDF · résumé' | Supporting label | | onDownload | () => void \| Promise<void> | Native download | Custom download handler | | disabled | boolean | false | Disables the action |

ClickKey

| Prop | Type | Default | Description | | ---------- | ----------------------------- | ----------- | ------------------------------- | | onAction | () => void \| Promise<void> | undefined | Runs when the button is clicked | | disabled | boolean | false | Disables the action and sound |

Accessibility

Motus provides keyboard focus and disabled states where applicable. Motion-based components respect prefers-reduced-motion; clipboard, download, and audio behavior still depends on browser permissions.

Links

License

MIT © John Charles Frederick Mamanao. See the license.