malilion

Block Slider

Forms

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>
  );
}

More in Forms

View all
  • Premium Auth

    Premium Auth

    524
  • Contact Card

    Contact Card

    1K
  • Book A Demo 1

    Book A Demo 1

    73
  • Login 1

    Login 1

    53
  • Form

    Form

    137
  • Card Studio

    Card Studio

    41
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.6K
  • SignInPage

    SignInPage

    667