ArrowToggle

direction
size

ArrowToggle is a component for displaying the chevron icon. It can rotate in four directions and can be used to display drop-down lists, cut components, etc.

Appearance

ArrowToggle has four possible directions: top, right, bottom, and left.

top right bottom left

Size

10 20 30 40 50 100

Use as an interactive element

Here is an example of using ArrowToggle with a toggling icon:

Properties

NameDescriptionTypeDefault
classNameclass HTML attributestring
directionUsed to set the arrowToggle directionstring"bottom"
sizearrowToggle size (in pixels)number16
qadata-qa HTML attribute, used for testingstring

CSS API

NameDescription
--g-arrow-toggle-transition-durationTransition duration