hextastudio/ui needs your support to stay running 🫶 Help us
Toasts
Some awesome toasts component with different variants.
Preview
Installation
tsx
import { useState } from "react";
import Toast from "@/components/hexta-ui/Toast";
export const Home = () => {
const [showToast, setShowToast] = useState(false);
const toggleToast = () => {
setShowToast(!showToast);
setTimeout(() => {
setShowToast(false);
Props Information
Prop Name
Prop Type
Default Value
Description
Prop Name | Prop Type | Default Value | Description |
---|