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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@hey-emmah/motionix

v1.1.2

Published

Motionix — motion-first React + TypeScript UI system

Downloads

55

Readme

📘 Motionix Documentation

Motion-first React + TypeScript UI System

Build expressive, composable, and animated interfaces that feel alive.

GitHub NPM Twitter


🧭 Introduction

Motionix is a motion-first React + TypeScript UI library built for developers who want to craft expressive, beautiful, and high-performance interfaces effortlessly.

It merges Framer Motion, Styled Components, and React into one cohesive system — allowing you to make user interfaces move and interact naturally.

"Motionix helps you build applications that don’t just look good — they feel alive."


🚀 Getting Started

Installation

npm install @hey-emmah/motionix
# or
yarn add @hey-emmah/motionix

Setup

If using Next.js, enable styled-components in your config:

// next.config.js
const nextConfig = {
  compiler: {
    styledComponents: true,
  },
};
module.exports = nextConfig;

Example

'use client';
import React from 'react';
import { Button, FadeIn } from '@hey-emmah/motionix';

export default function App() {
  return (
    <main style={{ padding: 40 }}>
      <FadeIn duration={0.6}>
        <Button variant="solid" size="lg">
          Hello Motionix ⚡️
        </Button>
      </FadeIn>
    </main>
  );
}

🎨 Theming

Motionix uses Styled Components to provide theme-based styling across all components.
You can define custom themes for brand identity and consistency.

import { ThemeProvider } from 'styled-components';
import { Button } from '@hey-emmah/motionix';

const theme = {
  colors: {
    primary: '#6C63FF',
    accent: '#00E6A8',
    background: '#FFFFFF',
    text: '#111111',
  },
  radii: {
    sm: '4px',
    md: '8px',
    lg: '12px',
  },
};

export default function ThemedApp() {
  return (
    <ThemeProvider theme={theme}>
      <Button>Custom Themed Button</Button>
    </ThemeProvider>
  );
}

🎞️ Motion Primitives

Motionix integrates seamlessly with Framer Motion, offering composable motion primitives that make animations intuitive.

FadeIn

import { FadeIn } from '@hey-emmah/motionix';

<FadeIn delay={0.2} duration={0.6}>
  <p>Subtle fade-in animation for smooth entrance effects.</p>
</FadeIn>;

SlideIn (coming soon)

import { SlideIn } from '@hey-emmah/motionix';

<SlideIn direction="up" distance={40}>
  <Button>Slide Me In!</Button>
</SlideIn>;

🧱 Core Components

| Component | Description | |------------|--------------| | Button | Styled and animated button with multiple variants and sizes | | Card | Layout container with built-in elevation and motion | | FadeIn | Simple animation wrapper for entry transitions | | Modal (coming soon) | Animated modal dialog with motion transitions | | Tooltip (coming soon) | Motion-aware tooltip component |

Example: Button

<Button variant="solid" size="lg">Click Me</Button>

Example: Card

<Card>
  <h3>Motionix ❤️ React</h3>
  <p>Build expressive, animated UI that feels natural.</p>
</Card>

🧩 Tokens

Motionix provides a token system for colors, spacing, and radii — promoting design consistency across projects.

import { tokens } from '@hey-emmah/motionix';

console.log(tokens.colors.primary); // #6C63FF

| Category | Token | Example | |-----------|--------|----------| | Colors | tokens.colors.primary | #6C63FF | | Radii | tokens.radii.md | 8px | | Space | tokens.space.md | 12px | | Typography | (coming soon) | — |


🧠 Developer Toolkit

Motionix includes handy hooks and utilities to simplify animation workflows and user interactions.

| Hook | Description | |------|--------------| | usePrefersReducedMotion() | Detects user’s OS-level motion preference | | useTheme() | Access theme tokens dynamically | | useToggle() | Simple boolean state management hook |


⚙️ Building Locally

You can build and test Motionix locally to preview your components before publishing.

git clone https://github.com/hey-emmah/motionix.git
cd motionix
npm install
npm run build

Then pack and install it in another project:

npm pack
npm install ./motionix-1.0.3.tgz

🧭 Roadmap

| Status | Feature | |--------|----------| | ✅ | Core Components (Button, Card, FadeIn) | | 🔄 | ThemeProvider + Dark Mode | | 🔄 | Motion Primitives (SlideIn, ScaleIn) | | ⏳ | Advanced Components (Modal, Tooltip, Dropdown) | | ⏳ | Storybook Documentation | | 🚀 | Motionix Studio — Online Playground |


🤝 Contributing

We welcome contributions from the community 💜

  1. Fork the repository
  2. Create a new feature branch
git checkout -b feature/new-component
  1. Make your changes and test them
npm run build
  1. Commit and push your changes
git commit -m "Added new component"
git push origin feature/new-component
  1. Open a Pull Request 🚀

Read the Contribution Guide for coding standards and best practices.


🐞 Issues & Feedback


🪄 Design Language

| Element | Value | |----------|--------| | Primary Color | #6C63FF | | Accent Color | #00E6A8 | | Font Family | Inter, JetBrains Mono | | Tone | Bold • Minimal • Motion-driven |

Motionix blends design and motion to create intuitive, beautiful interfaces.


📜 License

Licensed under the MIT License — free for personal and commercial use.
See LICENSE for details.


💜 Author

Built with motion and intention by Emmah
Follow for updates, tutorials, and releases → @hey_emmah


© 2025 Motionix — Built with React, TypeScript & Framer Motion