dxDigitexa UI
HomeDocsComponentsExamplesAI
Get started
Sections
IntroductionComponentsInstallationThemingCLIFor AI agentsChangelog
Examples
Workspace overviewSettings
Components
AccordionActivity feedAlertAlert dialogAvatarBadgeBreadcrumbButtonCalendarCalendar viewCardCheckboxCollapsibleComboboxCommandContext menuData tableDate pickerDialogDropdown menuEmpty stateFieldHover cardInputInput groupKanbanKbdLabelMeterPaginationPopoverPriorityProgressRadio groupScroll areaSelectSeparatorSheetSidebarSkeletonSliderSpinnerStatus iconSwitchTableTabsTask rowTextareaTimelineToastToggleToggle groupTooltip

Toast

Dependency-free toasts: call toast(), mount one Toaster; stacks, pauses on hover, promises.

Type
More

    Installation

    $ curl -fsSL https://ui.digitexa.com/dx.mjs | node --input-type=module - add toast

    Also adds button, spinner, utils, theme and installs lucide-react.

    Usage

    import { Toaster, toast, useToasts } from "@/components/ui/toast";

    The Code tab above shows a complete example.

    TimelineToggle
    On this page
    PreviewInstallationUsage