Slider with marks
A two-handle slider with marks at each quarter.
Add it to your project
Or install the packages yourselfTerminal
npm install @mantine/core @tabler/icons-react
First time with Mantine UI? Set it up once.
The code
import { IconGripVertical, IconPoint } from '@tabler/icons-react';
import { RangeSlider } from '@mantine/core';
import classes from './SliderMarks.module.css';
const point = <IconPoint size={10} style={{ marginTop: 6 }} stroke={1.5} />;
export function SliderMarks() {
return (
<RangeSlider
mt="xl"
mb="xl"
classNames={classes}This comes with paid plans
The code for every component comes with paid plans, along with the rest of the AI toolkit. The first component under each heading is free.