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.
npm install @wereform/pkgm-channel
# or
yarn add @wereform/pkgm-channel
# or
pnpm add @wereform/pkgm-channel-
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
From @wereform/pkgm-channel you can import:
import {
ChannelHeader,
ChannelNavigation,
ChannelBaseLayout,
ChannelHomeLayout,
ChannelVideoLayout,
ChannelWireLayout,
ChannelAboutLayout,
} from "@wereform/pkgm-channel";Displays the channel banner, profile image, name, subscriber count, short description, subscribe button, and notification icon.
ChannelHeader({
channelLogoUri,
ChannelName,
channelHeaderSubsCountText,
bannerUri,
miniAboutText,
});channelLogoUriURL of channel profile imageChannelNameChannel display namechannelHeaderSubsCountTextSubscriber count textbannerUriChannel banner image URLminiAboutTextShort channel description
Horizontal scrollable navigation tabs for channel sections.
ChannelNavigation({
style,
selectContentType,
});styleOptional container styleselectContentTypeCallback fired with selected tab name
Tabs included by default:
- Home
- Videos
- Wires
- About
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.
Home section layout for channel landing content.
ChannelHomeLayout({ children });- Automatically handles selected navigation state
- Displays a “Featured” heading when active
Scrollable container for channel videos.
ChannelVideoLayout({ children });Scrollable container for channel wires.
ChannelWireLayout({ children });Displays channel profile details, social links, and long-form about text.
ChannelAboutLayout({
content,
channelLogoUri,
aboutName,
aboutSubtitle,
socialMediaLink1,
socialMediaLink2,
socialIcon1,
socialIcon2,
});contentLong-form about textchannelLogoUriChannel profile imageaboutNameChannel nameaboutSubtitleShort taglinesocialMediaLink1First social URLsocialMediaLink2Second social URLsocialIcon1Ionicons name for first iconsocialIcon2Ionicons name for second icon
Links are normalized automatically before opening.
<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>- UI-only package
- No data fetching
- No business logic
- Fully controlled by parent app
- Optimized for composition, not opinionated routing
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.