Click buttons to see modal examples
Modal Sizes
Card Thumbnail Sizes
Dual-Faced Card with Flip Button
Card Grid
Hover over cards to see popup (desktop) or tap (mobile)
{{ card_grid([ {'name': 'Sol Ring', 'role': 'ramp', 'tags': ['Ramp', 'Artifact']}, {'name': 'Lightning Bolt', 'role': 'removal', 'tags': ['Removal', 'Instant']}, {'name': 'Rampant Growth', 'role': 'ramp', 'tags': ['Ramp', 'Sorcery']}, {'name': 'Counterspell', 'role': 'control', 'tags': ['Counterspell', 'Instant']}, {'name': 'Swords to Plowshares', 'role': 'removal', 'tags': ['Removal', 'Instant']}, {'name': 'Birds of Paradise', 'role': 'ramp', 'tags': ['Ramp', 'Creature']} ], size='medium', columns=3) }} {% endblock %} {% endcall %}Panel Variants
{{ simple_panel(title='Default Panel', content='This is a default panel with standard background.
', variant='default') }} {{ simple_panel(title='Alt Panel', content='This is an alternate panel with lighter background.
', variant='alt') }} {{ simple_panel(title='Dark Panel', content='This is a dark panel with darker background.
', variant='dark') }} {{ simple_panel(title='Bordered Panel', content='This is a bordered panel with no background.
', variant='bordered') }}Info Panels
{{ info_panel( icon='ℹ️', title='Information', content='This is an informational message.', type='info' ) }} {{ info_panel( icon='✅', title='Success', content='Operation completed successfully!', type='success' ) }} {{ info_panel( icon='⚠️', title='Warning', content='Please review your selections.', type='warning' ) }} {{ info_panel( icon='❌', title='Error', content='An error occurred. Please try again.', type='error', action_text='Retry', action_onclick='alert("Retrying...")' ) }}Stat Panels
Collapsible Panel
{% call collapsible_panel(title='Advanced Options', expanded=False) %} {% block body %}These are advanced settings that are hidden by default.
- Option 1: Enable feature X
- Option 2: Adjust threshold Y
- Option 3: Configure behavior Z