from shiny import render, ui
from shiny.express import input, layout

layout.set_page(layout.page_fillable())

with layout.card(id="card"):
    ui.input_slider("a", "A", 1, 100, 50)

    @render.text
    def txt():
        return input.a()
