Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

621 B
Raw Blame
import type { ButtonHTMLAttributes } from 'react'
import { twMerge } from 'tailwind-merge'

interface AppButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
  active?: boolean
}

export function AppButton({
  active,
  className = '',
  type = 'button',
  ...props
}: AppButtonProps) {
  return (
    <button
      type={type}
      className={twMerge(
        'inline-flex items-center text-xs gap-2 justify-start rounded px-2 py-1 opacity-80 transition-[background-color,opacity] hover:bg-white/10 hover:opacity-100',
        active && 'opacity-100',
        className,
      )}
      {...props}
    />
  )
}