---
title: "Animated Chevrons Up Down Icon"
description: "Two chevrons for the trigger of a Select or a Combobox. They move apart when the list opens and come back when it closes."
url: https://gelatinui.com/components/animated-chevrons-up-down-icon
markdown_url: https://gelatinui.com/components/animated-chevrons-up-down-icon.md
access: free
install: "npx shadcn@latest add @gelatin-ui/animated-chevrons-up-down-icon"
registry_item: https://gelatinui.com/r/animated-chevrons-up-down-icon.json
version: "2026-11-08"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Animated Chevrons Up Down Icon

> Two chevrons for the trigger of a Select or a Combobox. They move apart when the list opens and come back when it closes.

Page: https://gelatinui.com/components/animated-chevrons-up-down-icon

## When to use it

Best for: Two chevrons that spread apart when a list opens, for the trigger of a list.

- Use it in a custom trigger that opens a list.
- Set `open` from the open state of the list. That prop alone drives the motion.

## When not to use it

- For a section that opens in place, use a [Animated Chevron Icon](https://gelatinui.com/components/animated-chevron-icon.md).
- In a Select, a Combobox, or a Cascader trigger, do not add it. Each one already renders it.

## Notes for agents

- `variant` (`stroke`, `solid`, `duotone`, `twotone`, `bulk`) and `corners` (`round`, `sharp`) pick the style. Use one style for every icon of a product.
- `open` is the only prop of its own. The default is `false`.
- The icon is `aria-hidden`. The control around it owns the name.
- It has no size class, so a parent rule that sizes icons sizes it too. Set a `size-*` class to fix the size.
- A change in the middle of the motion goes on from where it is.

## Anatomy

```text
AnimatedChevronsUpDownIcon
```

## API reference

### AnimatedChevronsUpDownIcon

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `variant` | `"bulk" \| "duotone" \| "solid" \| "stroke" \| "twotone"` |  | `stroke` (default): 1.5 strokes. `solid`: the body filled, inner details cut through. `duotone`: a 40% fill under the stroke. `twotone`: the details at 40%. `bulk`: the body filled at 40% with no outline, the details at full color. |
| `corners` | `"round" \| "sharp"` |  | `round` (default): round caps and joins, soft corners. `sharp`: square caps, miter joins. |
| `open` | `boolean` | false | Open: the chevrons have spread apart (its list is open). Default: closed. |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| AnimatedChevronsUpDownIcon | `animated-chevrons-up-down-icon` | `data-open` |  | `motion-timing` |

## Usage

Set `open` from the open state of the list. That prop alone drives the motion.

The sample also uses `button`, which this add does not write. One command adds them with this item:

```bash
npx shadcn@latest add @gelatin-ui/animated-chevrons-up-down-icon @gelatin-ui/button
```

```tsx title="list-trigger.tsx"
import { AnimatedChevronsUpDownIcon } from "@/components/icons/animated-chevrons-up-down-icon";
import { Button } from "@/components/ui/button";

export function ListTrigger({ open }: { open: boolean }) {
  return (
    <Button variant="outline">
      Team
      <AnimatedChevronsUpDownIcon open={open} />
    </Button>
  );
}
```

## Compose

Rules:

- Compose the parts (`compose-parts`): Build each item from its named parts as children, and pass your text and icons in as parts.
- Every state is designed (`every-state`): Give each view of data its loading, empty, and error states: a skeleton in the final layout, an `Empty` with an illustration and one next action, and an error that says what failed and how to retry.

## Add it

```bash
npx shadcn@latest add @gelatin-ui/animated-chevrons-up-down-icon
```

It adds 9 registry items: 8 files, 2062 lines, and the npm packages `@base-ui/react`, `clsx`, `motion`, `tailwind-merge`, `tailwind-variants`.

## For AI agents

- Every item, one file: https://gelatinui.com/llms.txt
- MCP server (`search_items`, `get_item`, `get_install_plan`): https://gelatinui.com/mcp

## Related

- [Animated Chevron Icon](https://gelatinui.com/components/animated-chevron-icon.md)
- [Button](https://gelatinui.com/components/button.md)
- [Select](https://gelatinui.com/components/select.md)

## Accessibility

The icon is hidden from assistive tools. The control around it owns the name.
