
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@react-native-paper-abstracted/cli
Advanced tools
React Native Paper Abstracted is a package that allows you to use only the components you need from [React Native Paper](https://reactnativepaper.com). Thus allowing users to keep their app size small, and provides endless customization.
React Native Paper Abstracted (RNPA) is a package that allows you to use only the components you need from React Native Paper. This helps keep your app size small while providing endless customization options.
The command-line interface (CLI) tool lets you set up and install components effortlessly.
npm install @react-native-paper-abstracted/cli
npx rnpa init
RNPA can be used without installing the CLI tool.
npm i @callstack/react-theme-provider color react-native-safe-area-context
Navigate to the Explorer tab and add the following folders/files to your project while maintaining the correct file structure:
For non-Expo projects, install and link react-native-vector-icons (specifically, MaterialCommunityIcons):
npm install @react-native-vector-icons/material-icons
npm i @types/react-native-vector-icons
If you use Expo, vector icons are already included. However, ensure your babel.config.js or .babelrc file (if they exist) includes babel-preset-expo:
.babelrc
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
};
babel.config.js
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
};
};
To initialize the project, run:
npx rnpa init
To add components, use the add command followed by the component name:
npx rnpa add <component-name>
You can find available components and their commands in the Explorer tab.
Visit the Explorer tab and copy the desired component.
Wrap your root layout with the PaperProvider component:
import { Stack } from 'expo-router';
import PaperProvider from '@/components/core/PaperProvider';
export default function RootLayout() {
return (
<PaperProvider>
<Stack>
<Stack.Screen name="index" options={{headerShown: false}}/>
</Stack>
</PaperProvider>
);
}
Now, you can import and use components as usual:
import * as React from 'react';
import Button from '@/components/Button/Button';
import { View } from 'react-native';
const HomeScreen = () => (
<View style={{ flexDirection: 'row', gap: 16, flexWrap: 'wrap' }}>
<Button style={{ width: 'auto' }} mode="contained">
Press me
</Button>
</View>
);
export default HomeScreen;
FAQs
React Native Paper Abstracted is a package that allows you to use only the components you need from [React Native Paper](https://reactnativepaper.com). Thus allowing users to keep their app size small, and provides endless customization.
We found that @react-native-paper-abstracted/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.