defmodule RiverConnectWeb.Components.UI.ScrollArea do @moduledoc """ Implementation of a scroll area component with custom styling. The scroll area provides a consistent scrolling experience across different browsers and platforms, with customizable styling for the scrollbar. ## Examples: <.scroll_area class="h-[200px]">

Tags

<%= for tag <- 1..50 do %>
v1.2.0-beta.<%= tag %>
<.separator class="my-2" /> <% end %>
""" use RiverConnectWeb.Components.UI, :component @doc """ Renders a custom scrollable area. ## Options * `:class` - Additional CSS classes to apply to the scroll area container """ attr :class, :string, default: nil attr :rest, :global slot :inner_block def scroll_area(assigns) do ~H"""
{render_slot(@inner_block)}
""" end end