BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/jolyui/ui/animated-toast-notification-demo

animated-toast-notification-demo

jolyui-ui/animated-toast-notification-demo
FreeExample

jolyui/ui publishes no description for this item.

Live preview

live · rendered by the registry
Rendered by jolyui/ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://jolyui.dev/r/animated-toast-notification-demo.json

Source

examples/animated-toast-notification-demo.tsxjolyui.dev/r/animated-toast-notification-demo.json
1"use client";
2
3import { useState } from "react";
4import { NotificationToast } from "@/registry/default/ui/animated-toast";
5
6export default function AnimatedToastNotificationDemo() {
7 const [showToast, setShowToast] = useState(false);
8
9 const showNotification = () => {
10 setShowToast(true);
11 };
12
13 return (
14 <div className="p-8">
15 <button
16 onClick={showNotification}
17 className="rounded-md bg-blue-500 px-4 py-2 text-white transition-colors hover:bg-blue-600"
18 >
19 Show Notification
20 </button>
21
22 <NotificationToast
23 open={showToast}
24 onClose={() => setShowToast(false)}
25 title="New Message"
26 message="You have received a new message from John Doe. Check it out!"
27 avatar="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=40&h=40&fit=crop&crop=face"
28 time="2 min ago"
29 />
30 </div>
31 );
32}

What it pulls in

npm packages

  • lucide-react

Other registry items

  • animated-toast

Files it writes

  • examples/animated-toast-notification-demo.tsx

Facts

Registry
jolyui/ui
Type
registry:example
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-02
Last confirmed
today

Go to the source

Docs on jolyui/ui jolyui.dev Johuniq/jolyui on GitHub Raw registry item This item as JSON

More from jolyui/ui

All 199 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
ai-prompt-box-demoai-prompt-box-demojolyui/uiExamplesFreeno deps
ai-prompt-box-loading-demoai-prompt-box-loading-demojolyui/uiExamplesFreeno deps
animated-beam-bidirectional-demoanimated-beam-bidirectional-demojolyui/uiExamplesFree1 dep
animated-beam-curved-demoanimated-beam-curved-demojolyui/uiExamplesFree1 dep
animated-beam-demoanimated-beam-demojolyui/uiExamplesFree1 dep
animated-beam-multiple-demoanimated-beam-multiple-demojolyui/uiExamplesFree1 dep
animated-table-basic-demoanimated-table-basic-demojolyui/uiExamplesFreeno deps
animated-table-column-demoanimated-table-column-demojolyui/uiExamplesFreeno deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex