Tailwind CSS Dialog - Props



Dialog Props

The following props are available for dialog component. These are the custom props that come with we've added for the dialog component and you can use all the other native props as well.

Attribute Type Description Default
openboolean Open the dialog No default value it's a required prop.
handlerfunction Controls open and close states for dialog No default value it's a required prop.
sizeSize Change dialog size md
animationboolean Change dialog animation false

Dialog Body Props

The following props are available for dialog body component. These are the custom props that come with we've added for the dialog body component and you can use all the other native props as well.

Attribute Type Description Default
dividerboolean Add border top & bottom for dialog body false


Types - Size

type size = "xs" | "sm" | "md" | "lg" | "xl" | "xxl"