
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
@civoremon/custom-slider-pro
Advanced tools
A customizable slider component for SvelteKit with multiple shapes and styles
A highly customizable slider component for SvelteKit with multiple shapes and styles.
npm install @civoremon/custom-slider-pro
<script lang="ts">
import { CustomSliderPro } from '@civoremon/custom-slider-pro';
let value = 0;
</script>
<CustomSliderPro
bind:value
min={0}
max={5}
step={1}
type="default"
shape="circle"
labels={['1 Day', '1 Week', '1 Month', '3 Months', '6 Months', '1 Year']}
/>
Prop | Type | Default | Description |
---|---|---|---|
value | number | 0 | Current value of the slider |
min | number | 0 | Minimum value |
max | number | 5 | Maximum value |
step | number | 1 | Step increment |
type | 'default' | 'info' | 'warning' | 'error' | 'default' | Visual style variant |
shape | 'circle' | 'roundedSquare' | 'square' | 'triangle' | 'triangleDown' | 'diamond' | 'circle' | Shape of markers and thumb |
labels | string[] | [...] | Labels for each marker position |
trackHeight | number | 6 | Height of the track in pixels |
thumbSize | number | 20 | Size of the thumb in pixels |
thumbBorderWidth | number | 2 | Border width of the thumb in pixels |
# Install dependencies
npm install
# Start development server
npm run dev
# Run tests
npm run test
# Build package
npm run package
MIT © [Civoremon]
FAQs
A customizable slider component for SvelteKit with multiple shapes and styles
The npm package @civoremon/custom-slider-pro receives a total of 0 weekly downloads. As such, @civoremon/custom-slider-pro popularity was classified as not popular.
We found that @civoremon/custom-slider-pro 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.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.