# `ShadcnUI.Components.Content.ScrollArea`
[🔗](https://github.com/pcharbon70/shadcn_ui/blob/main/lib/shadcn_ui/components/content/scroll_area.ex#L1)

A bounded native overflow container with explicit focus policy.

Scroll Area does not measure content, observe the viewport, restore position,
virtualize children, load data, or add custom scroll controls. Applications
own dimensions beyond the closed size presets and every scroll-driven policy.

# `scroll_area`

Renders one native overflow container around required caller content.
## Attributes

* `axis` (`:atom`) - Defaults to `:vertical`. Must be one of `:vertical`, `:horizontal`, or `:both`.
* `size` (`:atom`) - Defaults to `:default`. Must be one of `:small`, `:default`, or `:large`.
* `edge_affordance` (`:atom`) - Defaults to `:none`. Must be one of `:none`, `:start`, `:end`, or `:both`.
* `focusable` (`:boolean`) - Defaults to `false`.
* `accessible_label` (`:string`) - Defaults to `nil`.
* `labelledby` (`:string`) - Defaults to `nil`.
* `class` (`:any`) - Defaults to `nil`.
* Global attributes are accepted.
## Slots

* `inner_block` (required)

---

*Consult [api-reference.md](api-reference.md) for complete listing*
