Skip to content

Redesign TranslationWidget #63

Closed

Description

@sapatmohit

Bring TranslationWidget to shadcn-registry quality. Depends on #58 and the LanguageSwitcher redesign (#59).

  • Replace the neumorphic styling with a tokenised two-pane card.
  • Header with ghost language pickers and an animated swap button.
  • Toolbar: character count (maxLength), clear, copy-to-clipboard with live-region feedback.
  • loading state with skeleton and aria-busy.
  • New props: showCount, showCopy, showClear, maxLength, loading, onTargetCopy, defaultSourceText, classNames.
  • Backward compatible.
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions