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

@wereform/pkgm-channel

v1.0.4

Published

Reusable channel UI components and layouts for the WeReform / BEGENONE platform.

Downloads

545

Readme

@wereform/pkgm-channel

Reusable channel UI components and layouts for the WeReform / BEGENONE platform.

This package provides ready-made React Native channel building blocks including headers, navigation tabs, and structured layouts for home, videos, wires, and about sections. It is designed to be composable and platform-agnostic across Expo, React Native, and shared app shells.


Install

npm install @wereform/pkgm-channel
# or
yarn add @wereform/pkgm-channel
# or
pnpm add @wereform/pkgm-channel

What this package gives you

  • Channel UI components:

    • Channel header with banner, logo, subscribe button, and notifications
    • Horizontal channel navigation tabs
  • Channel layouts:

    • Base channel layout wrapper
    • Home layout
    • Video layout
    • Wire layout
    • About layout
  • Designed for:

    • React Native / Expo
    • Shared mobile-first channel pages
    • Composition with external data loaders and cards

Exports

From @wereform/pkgm-channel you can import:

import {
  ChannelHeader,
  ChannelNavigation,
  ChannelBaseLayout,
  ChannelHomeLayout,
  ChannelVideoLayout,
  ChannelWireLayout,
  ChannelAboutLayout,
} from "@wereform/pkgm-channel";

Core components

ChannelHeader

Displays the channel banner, profile image, name, subscriber count, short description, subscribe button, and notification icon.

Props

ChannelHeader({
  channelLogoUri,
  ChannelName,
  channelHeaderSubsCountText,
  bannerUri,
  miniAboutText,
});
  • channelLogoUri URL of channel profile image
  • ChannelName Channel display name
  • channelHeaderSubsCountText Subscriber count text
  • bannerUri Channel banner image URL
  • miniAboutText Short channel description

ChannelNavigation

Horizontal scrollable navigation tabs for channel sections.

Props

ChannelNavigation({
  style,
  selectContentType,
});
  • style Optional container style
  • selectContentType Callback fired with selected tab name

Tabs included by default:

  • Home
  • Videos
  • Wires
  • About

Layouts

ChannelBaseLayout

Root wrapper for channel pages. Combines header, navigation, and content.

ChannelBaseLayout({
  channelLogoUri,
  channelUserName,
  channelHeaderSubsCountText,
  children,
  style,
});

Used as the outer container for all channel screens.


ChannelHomeLayout

Home section layout for channel landing content.

ChannelHomeLayout({ children });
  • Automatically handles selected navigation state
  • Displays a “Featured” heading when active

ChannelVideoLayout

Scrollable container for channel videos.

ChannelVideoLayout({ children });

ChannelWireLayout

Scrollable container for channel wires.

ChannelWireLayout({ children });

ChannelAboutLayout

Displays channel profile details, social links, and long-form about text.

Props

ChannelAboutLayout({
  content,
  channelLogoUri,
  aboutName,
  aboutSubtitle,
  socialMediaLink1,
  socialMediaLink2,
  socialIcon1,
  socialIcon2,
});
  • content Long-form about text
  • channelLogoUri Channel profile image
  • aboutName Channel name
  • aboutSubtitle Short tagline
  • socialMediaLink1 First social URL
  • socialMediaLink2 Second social URL
  • socialIcon1 Ionicons name for first icon
  • socialIcon2 Ionicons name for second icon

Links are normalized automatically before opening.


Typical usage

<ChannelBaseLayout>
  <ChannelHomeLayout>{/* featured content */}</ChannelHomeLayout>

  <ChannelVideoLayout>{/* video cards */}</ChannelVideoLayout>

  <ChannelWireLayout>{/* wire cards */}</ChannelWireLayout>

  <ChannelAboutLayout
    content="Long form channel description"
    aboutName="WeReform"
    aboutSubtitle="Long form breakdowns and experiments"
  />
</ChannelBaseLayout>

Design philosophy

  • UI-only package
  • No data fetching
  • No business logic
  • Fully controlled by parent app
  • Optimized for composition, not opinionated routing

License

MIT License

Copyright (c) 2025 WeReform / BEGENONE

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.