Custom range index for the List Item (Item) component

Dear Grasshoppers community

I often use this little script to create the colored range plot of various analysis.
Wanting to only edit the various ranges through the Human UI window, without having to change the text inside the script, would there be a way to have some inputs in the component where to insert the various ranges externally?
I don’t have the knowledge to edit the script myself, could someone kindly help me?
Or maybe there is already a component that does the same job?

Best regards