About
A pixel-art styled range slider input with a block-shaped thumb and material color variants, for form controls like volume, FOV or render-distance settings.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Block Slider to your project and fits it to your theme.
Code
How Block Slider is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import BlockSlider from "@/components/ui/block-slider";
export default function BlockSliderFormattedDemo() {
return (
<div className="block-ui-root flex w-full max-w-sm flex-col gap-6 p-6">
<BlockSlider
label="FOV"
min={30}
max={110}
defaultValue={70}
formatValue={(v) => `${v}\u00b0`}
/>
</div>
);
}








