glaze/basecoat/scroll_area
Basecoat documentation: https://basecoatui.com/components/scroll-area/
Styled scrollbars for any scrollable element.
Recipe
import glaze/basecoat/scroll_area
import lustre/attribute
import lustre/element/html
fn tags() {
html.div([scroll_area.scrollbar(), attribute.class("h-72 overflow-y-auto")], [
html.text("..."),
])
}
Values
pub fn scrollbar() -> attribute.Attribute(msg)