Skip to content

v2.8.0 - Language switch, floating panel, hero, big gradient buttons

Choose a tag to compare

@Banzamel Banzamel released this 05 Nov 18:33
· 6 commits to main since this release

Minor release. Nothing to change in your code — every option is new and the defaults look as before.

  • MHero: a hero section with an image or a tilted screenshot on a gradient, scrim, hue / color, minHeight and align.
  • MFloatingPanel: a non-modal panel that floats over a scene on the left or right, collapsible, with optional backdrop blur.
  • MButton: size='2xl' for a large call to action and variant='gradient' (themeable via --mineral-button-gradient and --mineral-button-glow).
  • MSidebar: indicator='bar' marks the active item with an accent bar; item and icon size are themeable tokens for icon rails.
  • MI18n: the context lists availableLocales.
  • Pro: MLanguageSwitch — a segmented or single-button language toggle with flags that plugs into MI18n or works controlled.