motionsnack

Animated React sections that already feel finished.

Copy them into Next.js or add them with one command. Plain React and Tailwind, light and dark.

New sections, once a month

One short email when something new lands. No spam.

Library

  • Sections
  • Blocks
  • Components
  • Application UI
  • Templates

Popular

  • Hero
  • Gallery
  • Testimonials
  • Stats
  • Logos
  • FAQ

Resources

  • Installation
  • All components
  • All blocks
  • All sections
  • All application UI
  • Design system
  • Changelog
  • Pricing

Company

  • About
  • Contact
  • Terms
  • Privacy

Install

npx motionsnack add <name>Step-by-step guidehello@motionsnack.dev
Kuba Šťastný@kubastastnydev

© 2026 motionsnack. All rights reserved.

TermsPrivacy

motionsnack

motionsnack
DocsSectionsTemplatesWhat's newPricing
Get lifetime access
  1. Home
  2. Docs
  3. Components
  4. Dropdown
  5. Switcher Dropdown
ComponentsBlocksSectionsApplication UI
ComponentsBlocksSectionsApplication UI

Accordion

  • Spring Accordion

Alert

  • Glow Alert

Audio

  • Podcast PlayerNew
  • Voice NoteNew
  • Voice RecorderNew

Avatar

  • Avatar Stack

Badge

  • Pulse Badge

Breadcrumb

  • Slide Breadcrumb

Button

  • Chip ButtonNew
  • Glow Border Button
  • Glow ButtonNew
  • Plain ButtonNew

Calendar

  • Month Calendar

Checkbox

  • Checkbox CardsNew
  • Checkbox GroupNew
  • Chip CheckboxNew

Cropper

  • Image Cropper

Dialog

  • Spring Dialog

Dropdown

  • Command MenuNew
  • Stagger Dropdown
  • Switcher DropdownNew

File Upload

  • Drop Zone Upload

Input

  • Addon InputNew
  • Button InputNew
  • Copy InputNew
  • Date InputNew
  • Floating Label Input
  • Joined InputsNew
  • Notched Label InputNew
  • Number StepperNew
  • OTP InputNew
  • Password InputNew
  • Phone InputNew
  • Range InputNew
  • Search InputNew
  • Tag InputNew
  • Text FieldNew

Loader

  • Curtain LoaderNew
  • Greeting LoaderNew
  • Line LoaderNew
  • Meter LoaderNew
  • Split LoaderNew

Navigation Menu

  • Mobile Tab BarNew

Notification

  • Notification BellNew
  • Toast Stack

Pagination

  • Sliding Pagination

Popover

  • Spring Popover

Radio

  • Card Radio Group
  • Payment MethodNew
  • Radio GroupNew
  • Rating RadioNew

Select

  • ComboboxNew
  • Glide Select
  • Multi SelectNew
  • Rich SelectNew
  • Select FieldNew
  • Tree SelectNew

Sidebar

  • Icon RailNew

Slider

  • Glow Slider

Stepper

  • Progress Stepper

Switch

  • Billing SwitchNew
  • Switch RowNew
  • Toggle SwitchNew

Table

  • Sortable Table

Tabs

  • Sliding Tabs

Textarea

  • Auto Grow Textarea

Toggle

  • Icon ToggleNew
  • Theme ToggleNew
  • Toggle GroupNew

Tooltip

  • Follow Tooltip

Dropdown

Switcher Dropdown

New

A pill that switches between accounts, workspaces or projects, with avatars, plan badges and a create row at the bottom.

npx motionsnack add switcher-dropdown

Customize

px
px
s
<SwitcherDropdown />

Props

18 properties

PropertyTypeDefaultDescription
items{ value: string; label: string; description?: string; badge?: string; image?: { src: string; alt?: string } }[]3 demo accountsAccounts, workspaces or projects. Without an image the initials are shown.
valuestring-Chosen value (controlled).
defaultValuestringfirst itemValue chosen at first render (uncontrolled).
onChange(value: string, item: SwitcherDropdownItem) => void-Called when the user picks an item.
action{ label: string; href?: string }{ label: 'Create workspace' }Row under the items. An empty label hides it.
onAction() => void-Called when the action row is picked.
openboolean-Open state (controlled).
defaultOpenbooleanfalseOpen state at first render (uncontrolled).
onOpenChange(open: boolean) => void-Called whenever the list opens or closes.
disabledbooleanfalseDisables the button.
classNamestring''Extra classes on the wrapper.
leading'avatar' | 'list' | 'none''avatar'What sits before the label in the button.
headingstring'Switch account'Small caps title at the top of the list. Empty hides it.
align'start' | 'end''start'Side of the button the list lines up with.
heightnumber44Height of the button.
radiusnumber999Corner radius of the button. 999 makes a pill.
durationnumber0.4Seconds the list takes to spring open.
bouncenumber0.2Bounce of the springs.

About Switcher Dropdown

Switcher Dropdown is the account or workspace picker apps keep in their top bar. Closed, it is a pill with the current item's avatar or initials, its name and a small plan badge. It opens into the same list as the library's selects: a spring-open card, rows that come in out of a soft blur, a highlight that glides to the hovered row and a black or white check on the chosen one. Rows can carry a description under the name, and a dashed plus row after a divider creates something new. The keyboard works as in a select (arrows, Home, End, Enter, Escape), and it runs controlled or uncontrolled.

What's included

  • Pill with avatar or initials, name and plan badge
  • List with descriptions and a gliding highlight
  • Check on the chosen item, create row after a divider
  • Avatar, list icon or no leading element
  • Arrows, Home/End, Enter and Escape
  • Controlled and uncontrolled value
  • Light and dark look, respects reduced motion
Type
Animated React dropdown component
Library
Components · Dropdown
Stack
Next.js, React, Tailwind CSS, Framer Motion
Added
2026-11-24
Install
npx motionsnack add switcher-dropdown