Input_slider not showing as a slider? (HA noob)

HA noob here, tried searching but couldnt find anything else to try

When I add a input_slider, it doesnt show up as a slider but just shows the current state value.

input_slider:
      animation_speed:
        name: Animation Speed
        initial: 150
        min: 1
        max: 150
        step: 10
      testslider:
        name: Slider Test
        initial: 150
        min: 1
        max: 150
        step: 10

inputslider

here is the automation i am trying:

  - alias: "Animation Speed"
    initial_state: True
    hide_entity: False
    trigger:
      - platform: state
        entity_id: input_slider.animation_speed
    action:
      - service: mqtt.publish
        data_template:
          topic: "bruh/mqttstrip/setanimationspeed"
          payload: '{{ trigger.to_state.state | int }}'

I can manually set the state of input_slider.animation_speed and it does as is expected.

input_slider has been renamed to input_number now with the new release. you need to specify mode: slider for it to show up as a slider.

aha! thanks so much. fixed it right up.