1# Spinner (lv_spinner)
2
3## Overview
4The Spinner object is a spinning arc over a ring.
5
6## Parts and Styles
7The parts are identical to the parts of [lv_arc](/widgets/core/arc).
8
9## Usage
10
11### Create a spinner
12
13To create a spinner use `lv_spinner_create(parent, spin_time, arc_length)`. `spin time` sets the spin time in milliseconds, `arc_length` sets the length of the spinning arc in degrees.
14
15## Events
16No special events are sent by the Spinner.
17
18See the events of the [Arc](/widgets/core/arc) too.
19
20Learn more about [Events](/overview/event).
21
22## Keys
23No *Keys* are processed by the object type.
24
25Learn more about [Keys](/overview/indev).
26
27
28
29## Example
30
31```eval_rst
32
33.. include:: ../../../examples/widgets/spinner/index.rst
34
35```
36
37## API
38
39```eval_rst
40
41.. doxygenfile:: lv_spinner.h
42  :project: lvgl
43
44```
45