Skip to main content

Configuration

The responsive preview components support several configuration options to customize their behavior and appearance.

PreviewConfig

interface PreviewConfig {
darkMode?: boolean; // Enable dark mode
showToolbar?: boolean; // Show/hide the toolbar
showScale?: boolean; // Show/hide scaling information
showLabels?: boolean; // Show/hide breakpoint labels
}