Dev Design Library

Toast

Displays temporary notification messages that appear at the top or bottom of the screen.

Toast preview
Library
HeroUI
Framework
React
Type
component
License
Apache-2.0
Install
npm install @heroui/react
Files
  • packages/react/src/components/toast/constants.ts
  • packages/react/src/components/toast/index.ts
  • packages/react/src/components/toast/toast-queue.ts
  • packages/react/src/components/toast/toast.tsx
  • packages/react/src/utils/dom.tsx
  • packages/styles/src/index.ts
  • packages/react/src/hooks/use-measured-height.ts
  • packages/react/src/hooks/use-safe-layout-effect.ts
Source
https://github.com/heroui-inc/heroui

Categories

More from HeroUI