Toast
Toasts whose remaining life is a faint lift of the card's own surface, receding as the time runs down; an action is a small filled button.
$149 once · every Pro piece
Customize
none
toast
error
Newest in front, up to three layered behind; hover or focus the stack to fan it out and freeze every timer. Swipe one away, or reach it with F6 and dismiss it with Escape.
Install
npx shadcn@latest add @obsyde/toastNeeds your licence key · Get Pro
Usage
Import it from where the CLI puts it, or copy the files below by hand.
import { Toaster } from '@/components/obsyde/ember/toast/Toaster';
export function Example() {
return (
<Toaster />
);
}
Files
What you get with Pro: plain React, TypeScript and CSS, with no dependencies.
ember/toast/Toaster.tsxcomponentember/toast/toast.cssstylesember/toast/ToastDemo.tsxdemoember/display-kit/display-kit.csssharedember/display-kit/motion.tssharedember/shared/spring.tssharedember/shared/accent.tssharedember/shared/ember.cssshared
API
| Prop | Type | Default |
|---|---|---|
accentAccent | 'ember' | 'volt' | 'arc' | 'ember' |
positionPosition | 'bottom-right' | 'bottom-center' | 'top-right' | 'bottom-right' |
durationDuration (ms) | number | 4000 |
initialShowing on open | 'none' | 'toast' | 'error' | 'none' |