Skip to content

Modal Presets

Modal presets represet a premade config for common modal usecases.

Available elements

Dyvix provides a wide range of presets. You can trigger these by passing the string name.

  • 'Register'
  • 'Login'

Usage

jsx
import { Modal } from 'dyvix-ui';

function AuthModal() {
  return <Modal preset="Login" title="Welcome Back" theme="Aurora" />;
}