f0rextasy

Push Permission

Cards 2

About

A card prompting the user to opt in to push notifications, with Allow/Later buttons and an inline confirmation state.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Push Permission to your project and fits it to your theme.

Code

How Push Permission is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import PushPermission from "@/components/ui/push-permission";

export default function PushPermissionDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-6">
      <PushPermission />
    </div>
  );
}

More by f0rextasy

View all
  • Newsletter Signup Card

    Newsletter Signup Card

    19
  • Board Checklist

    Board Checklist

    15
  • Stamp Seal

    Stamp Seal

    15
  • Network Graph

    Network Graph

    14
  • Navbar

    Navbar

    12
  • Running Order Timeline

    Running Order Timeline

    11
  • Milestone Chart

    Milestone Chart

    10
  • Empty State Card

    Empty State Card

    7

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.3K
  • Statistics Card 7

    Statistics Card 7

    327
  • Statistics Card 2

    Statistics Card 2

    305
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    625
  • Card Studio

    Card Studio

    5
  • The Item one

    The Item one

    4
  • Weather Card

    Weather Card

    65
  • Card

    Card

    9