Skip to main content Accessibility Feedback
Skip to Documentation Content

Modals

New! This component was just added to Kelp. Enjoy!

A modal is used to display content that temporarily blocks interactions with and floats in the center of the viewport on top of the main content.

Kelp’s modals are implemented using the <dialog> component. You can find the full documentation there.

👋 Hi there! This is a modal…

<button 
	commandfor="my-modal" 
	command="show-modal"
>
	Open Modal
</button>

<dialog id="my-modal">
	This is a modal...
</dialog>

View the Full Docs →