Skip to content

How to set Slider color and size to custom values? #5593

@Blabter

Description

@Blabter

Package

v4.x

Description

Currently you can choose color and size of Slider only from set of predefined values:
https://ui.nuxt.com/docs/components/slider#color

How I can set arbitrary color and size to my slider? For example instead of

<USlider color="neutral" size="xl" :default-value="50" />

I want to use something like this:

<USlider color="#fafafa" size="150px" :default-value="50" />

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedv4#4488

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions