Dev Design Library

Parameter Slider

An inline range slider with a live value readout for reversible adjustment of a local generation parameter — temperature, top-k, top-p, maxTokens, nGpuLayers, KV-cache quant. Fully controlled; the emitted value feeds straight into useGenera.

Parameter Slider preview
Library
LocalMode
Framework
React
Type
component
License
MIT
Dependencies
radix-ui
Install
npx shadcn add @localmode/ui/ui/input-controls/parameter-slider
Files
  • apps/ui/registry/localmode/input-controls/parameter-slider/parameter-slider.tsx
  • apps/ui/src/lib/utils.ts
Source
https://github.com/LocalMode-AI/LocalMode

Categories

More from LocalMode