Modal

Class nameTypeDescription
tc-modalComponentModal component
tc-modal-contentComponentModal contents
tc-modal-boxUtilityContent style: box
tc-modal-drawer-lUtilityContent style: left drawer
tc-modal-drawer-rUtilityContent style: right drawer
tc-modal-drawer-tUtilityContent style: top drawer
tc-modal-drawer-bUtilityContent style: bottom drawer
tc-modal-drawer-screenUtilityContent style: fullscreen
tc-modal-overlayComponentModal overlay

Creating a modal

Modals must contain each of the three modal components: tc-modal, tc-modal-content, and tc-modal-overlay. A modal utility class can be added to the tc-modal-content component to stylize the modal content.

Usage

Modals are controlled with JavaScript using data attributes, or with the Skin.Modal.show and Skin.Modal.hide functions.

Examples