Skip to content

Redesign LanguageSwitcher #59

Closed

Description

@sapatmohit

Bring LanguageSwitcher to shadcn-registry quality. Depends on #58.

  • shadcn tokens; trigger variant (outline / ghost / secondary) and size.
  • Animated enter/exit menu (reduced motion respected), flips upward when there's no room below, align / side.
  • Search row with icon, clear button and empty state; quieter selected state.
  • Customisation: classNames slots, renderOption, showCode, searchable, searchPlaceholder, emptyMessage, disabled.
  • Backward compatible; keyboard and ARIA behaviour unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    componentNew or modified componentenhancementNew feature or requestlanguage-switcherLanguage switcher component

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions