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

@mapples/components

v1.1.0

Published

Placeholder package for app-specific component registration in the Mapples Open Kit. Use this package to register custom components and schematics that will be available to the render system and visual editor.

Downloads

9

Readme

@mapples/components

Placeholder package for app-specific component registration in the Mapples Open Kit. Use this package to register custom components and schematics that will be available to the render system and visual editor.

Features

  • Component registry – Export a Components object compatible with @mapples/render and RegisteredComponents from @mapples/types
  • Schematics – Attach component schematics (type, groupId, label, Icon, initialProps, styleKeys, props, actionProps) for visual editor integration
  • TypeScript – Aligns with @mapples/types and @mapples/ui patterns

Installation

npm install @mapples/components
# or
yarn add @mapples/components

Usage

The package currently exports an empty Components registry and re-exports from schematics. Applications can:

  1. Extend in-app – Import @mapples/ui (or other) components and merge with custom components, then pass the combined registry to RenderProvider (or use MapplesApp / MapplesAppProvider from @mapples/app, which use @mapples/ui’s Components by default).

  2. Use this package as the app shell – Add local component definitions and schematics in src/schematics.ts (and related files), then build and consume Components from @mapples/components in your app’s provider setup.

Example: custom component registration

// In your app or in this package’s schematics
import { RegisteredComponent } from '@mapples/types';
import { MyWidget } from './MyWidget';
import { MyWidgetIcon } from './MyWidgetIcon';

const myWidgetSchematic: RegisteredComponent<MyWidgetProps> = {
  type: 'MyWidget',
  groupId: 'custom',
  label: 'My Widget',
  Component: MyWidget,
  Icon: MyWidgetIcon,
  initialProps: { title: '' },
  styleKeys: [],
  props: [],
  actionProps: [],
};

// Merge with existing Components when providing to RenderProvider
import { Components } from '@mapples/ui';
const allComponents = { ...Components, MyWidget: myWidgetSchematic };

API

  • ComponentsRecord<string, RegisteredComponent> (currently {}). Populate via this package’s schematics or by merging in your app.
  • Schematics – Re-exported from ./schematics; add your component definitions here for a single place to maintain the registry.

Dependencies

  • @mapples/types – For RegisteredComponent, StyleKey, PropsFormField, etc.
  • react / react-native – For component implementations
  • react-native-svg – For palette/icons when using SVG icons in schematics

Integration

  • @mapples/appMapplesApp and MapplesAppProvider use @mapples/ui’s Components by default; replace or merge with @mapples/components if your app defines its components in this package.
  • @mapples/renderRenderProvider accepts a components prop; pass the registry you build from this package and/or @mapples/ui.

Development

npm run build
npm run type-check
npm run lint

License

MIT

Author

Oleksandr Soloviov – mapples.org