Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@omnedia/ngx-background-beams
Advanced tools
`@omnedia/ngx-background-beams` is an Angular component that generates dynamic animated background beams with customizable gradients and motion paths. It creates visually captivating backgrounds, ideal for enhancing the aesthetics of your application with
@omnedia/ngx-background-beams
is an Angular component that generates dynamic animated background beams with customizable gradients and motion paths. It creates visually captivating backgrounds, ideal for enhancing the aesthetics of your application with smooth, animated beams.
Install the library using npm:
npm install @omnedia/ngx-background-beams
Import the NgxBackgroundBeamsComponent
in your Angular module or component:
import {NgxBackgroundBeamsComponent} from '@omnedia/ngx-background-beams';
@Component({
...
imports:
[
...
NgxBackgroundBeamsComponent,
],
...
})
Use the component in your template:
<om-background-beams
[gradientColorValues]="['#18CCFC', '#6344F5', '#AE48FF']"
pathColor="rgba(255, 255, 255, 0.1)"
[pathQuantity]="30"
>
<div class="your-content">
</div>
</om-background-beams>
This creates a dynamic background with animated beams using the specified gradient colors and path count. Example with Content
<om-background-beams
[gradientColorValues]="['#18CCFC', '#6344F5', '#AE48FF']"
pathColor="rgba(255, 255, 255, 0.08)"
[pathQuantity]="50"
>
<div class="content">
<h1>Welcome to the Dynamic World of Beams!</h1>
<p>Beautiful background animations for your Angular apps.</p>
</div>
</om-background-beams>
<om-background-beams
[gradientColorValues]="['#18CCFC', '#6344F5', '#AE48FF']"
[pathColor]="'rgba(255, 255, 255, 0.08)'"
[pathQuantity]="50"
>
<ng-content></ng-content>
</om-background-beams>
gradientColorValues
(optional): Array of exactly 3 colors for the gradient. Must provide exactly 3 colors. Defaults to ['#18CCFC', '#6344F5', '#AE48FF']
.pathColor
(optional): Defines the color of the path lines. Defaults to rgba(255, 255, 255, 0.08)
.pathQuantity
(optional): Number of animated paths to generate. Defaults to 50
.Example
<om-background-beams
[gradientColorValues]="['#FF5733', '#C70039', '#900C3F']"
pathColor="rgba(255, 255, 255, 0.1)"
[pathQuantity]="30"
>
<div class="example-content">
<h1>Stunning Visual Effects</h1>
</div>
</om-background-beams>
This example draws 30 animated beams with a red-to-purple gradient, creating an eye-catching background for your content.
Contributions are welcome. Please submit a pull request or open an issue to discuss your ideas.
This project is licensed under the MIT License.
FAQs
`@omnedia/ngx-background-beams` is an Angular component that generates dynamic animated background beams with customizable gradients and motion paths. It creates visually captivating backgrounds, ideal for enhancing the aesthetics of your application with
The npm package @omnedia/ngx-background-beams receives a total of 5 weekly downloads. As such, @omnedia/ngx-background-beams popularity was classified as not popular.
We found that @omnedia/ngx-background-beams 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.