
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
solid-spinner
Advanced tools
Warning Under active development. Do not use in production.
Dependency free SolidJS adaptation of Sam Herberts SVG Loaders library.
yarn add solid-spinner
npm install solid-spinner --save
pnpm install solid-spinner
Spinner
component and specify the type of spinner.import { Spinner, SpinnerType } from 'solid-spinner';
<Spinner type={SpinnerType.puff} color="red" />;
import { Puff } from 'solid-spinner';
<Puff color="red" />;
Component Name | Type |
---|---|
AudioSpinner | audio |
BallTriangle | ballTriangle |
Bars | bars |
Circles | circles |
Grid | grid |
Hearts | hearts |
Oval | oval |
Puff | puff |
Rings | rings |
SpinningCircles | spinningCircles |
TailSpin | tailSpin |
ThreeDots | threeDots |
Each of these components should be able to accept any SVG tag presentation attributes as props.
// render the Puff loader with a stroke opacity of .125
<Spinner type={SpinnerType.puff} stroke-opacity=".125" />
// render the Puff loader with a stroke of mint green
<Puff stroke="#98ff98" />
// render the Puff loader with a stroke of mint green and a stroke opactiy of .125
<Puff stroke="#98ff98" stroke-opacity=".125"/>
FAQs
Pure SVG loading spinners for SolidJS
The npm package solid-spinner receives a total of 782 weekly downloads. As such, solid-spinner popularity was classified as not popular.
We found that solid-spinner 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.