How to use

01Import the component
import InteractiveContactButton from "@/components/shitui/InteractiveContactButton";
02Use in your application
export default function ContactTrigger() {
return (
  <InteractiveContactButton
    name="Swapnil Kalambe"
    role="Design Engineer"
    email="hello@example.com"
    avatarUrl="https://unavatar.io/twitter/heyyswap"
    availableForWork={true}
    bookingUrl="https://cal.com/your-handle"
  />
);
}

Features

Compact pill button with animated text slide and icon transition on hover.

Props

PropTypeDefaultDescription
namestring'Swapnil Kalambe'The display name shown on the expanded profile card.
rolestring'Design Engineer'Professional title or role subtitle.
emailstring'hello@example.com'Email address copied to clipboard when clicking the email button.
avatarUrlstring-URL for the profile photo avatar image.
availableForWorkbooleantrueDisplays a pulsing green status indicator when set to true.
statusTextstring'Available for work'Custom status text next to the availability indicator.
bookingUrlstring-External link URL for the "Book a Call" button (e.g. Cal.com or Calendly).
buttonTextstring'Contact'Resting label for the trigger pill button.
buttonHoverTextstring'Get in touch'Hover label that slides into view on interaction.
theme'dark' | 'light''dark'Visual theme for the button and popover badge.
cardPosition'bottom-right' | 'bottom-left' | 'bottom-center''bottom-right'Alignment of the profile card relative to the trigger button.
classNamestring-Optional CSS class for styling the container.