CtaButton (CtaButton/index.tsx)

keyshade · apps/web/src/components/CtaButton/index.tsx · typescript · MPL-2.0
ui, UI / Frontend

A styled CTA button component for React applications.

// Source: https://github.com/keyshade-xyz/keyshade | License: MPL-2.0 | Copyright under Patent Claims infringed by Covered Software in the absence of | Modified files must remain under MPL-2.0
// Modifications to this file must remain under MPL-2.0.
// Provided via justclaw.it.com; keep this notice with the code.
// eslint-disable-next-line camelcase -- IGNORE ---
import { Geist_Mono } from 'next/font/google'
import type { ButtonHTMLAttributes } from 'react'
import React from 'react'

interface CtaButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
  children: React.ReactNode
}

const geistMono = Geist_Mono({
  subsets: ['latin'],
  weight: ['400', '700']
})

export default function CtaButton({
  children,
  ...props
}: CtaButtonProps): React.JSX.Element {
  return (
    <button

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key