Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
secptrum-ui
Advanced tools
**SecptrumUI** is a customizable and modern UI component library built with `styled-components`. Designed to help developers quickly build beautiful and responsive web applications, SecptrumUI offers a range of components that are easy to use and adapt to
SecptrumUI is a customizable and modern UI component library for react, built with styled-components
. Designed to help developers quickly build beautiful and responsive web applications, SecptrumUI offers a range of components that are easy to use and adapt to any project.
styled-components
for advanced styling.To install SecptrumUI, you can use npm or yarn:
# Using npm
npm install secptrum-ui styled-components react-icons
# Using yarn
yarn add secptrum-ui styled-components react-icons
To use SecptrumUI components in your project, import the components you need
import { Button, Input, Stack, Box } from 'secptrum-ui';
function App() {
return (
<Stack spacing="md">
<Box padding="md" border="1px solid #ddd">
<Input placeholder="Enter your text here" />
</Box>
<Button colorScheme="primary" size="md" variant="solid">
Click Me
</Button>
</Stack>
);
}
SecptrumUI includes a variety of components to help you build your application
Button
: A customizable button component designed to handle various actions and events in your application. The Button component supports multiple variants, sizes, and states, making it versatile and adaptable to different design and functionality needs.Input
: A versatile input field component that supports different types, styles, and additional features like icons. The Input component is designed to be highly customizable, making it suitable for various use cases such as forms, search bars, and user data entry.Stack
: A layout component that arranges its children in a vertical or horizontal stack with configurable spacing. The Stack component simplifies the management of child components' spacing, alignment,Box
: A flexible container component that serves as a building block for layout and styling. The Box component allows you to easily control spacing (padding and margin), alignment, borders, and other CSS properties through props.For a full list of components and their usage, please refer to the documentation.
SecptrumUI leverages styled-components
for customization. You can adjust the appearance of components by using the styled-components
API to create your own styles.
import styled from "styled-components";
import { Button } from 'secptrum-ui';
const CustomButton = styled(Button)`
background-color: #007bff;
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
&:hover {
background-color: #0056b3;
}
`;
function App() {
return (
<CustomButton>
Customized Button
</CustomButton>
);
}
export default App;
FAQs
**SecptrumUI** A comprehensive React component library
The npm package secptrum-ui receives a total of 116 weekly downloads. As such, secptrum-ui popularity was classified as not popular.
We found that secptrum-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.