You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
page-title: How to style the Virtual List | Vaadin components
4
+
description: Styling API reference for the Virtual List component.
5
+
meta-description: Customize the Virtual List component to align with your application’s theme and branding.
6
+
order: 50
7
+
---
8
+
= Virtual List Styling
9
+
10
+
== Style Variants
11
+
12
+
Virtual List supports the following style variants:
13
+
14
+
[cols="2,3,1"]
15
+
|===
16
+
| Variant | Description | Supported by
17
+
18
+
|`overflow-indicators`
19
+
|Shows visual indicators at the top and bottom when the content is scrolled
20
+
|Aura, Lumo
21
+
22
+
|`overflow-indicator-top`
23
+
|Shows visual indicator at the top when the content is scrolled
24
+
|Aura, Lumo
25
+
26
+
|`overflow-indicator-bottom`
27
+
|Shows visual indicator at the bottom when the content is scrolled
28
+
|Aura, Lumo
29
+
30
+
|===
31
+
32
+
.Virtual List Padding
33
+
[TIP]
34
+
Do not set `padding` to the virtual list when using these variants, as it prevents the borders from appearing in the correct positions. Use `--vaadin-virtual-list-padding-block` and `--vaadin-virtual-list-padding-inline` properties instead.
0 commit comments