Resources
Changelog
Every version of Vitrum and the patch releases under it: what is new, what got better, what was fixed.
v2.1
LatestNew: Search, one field that looks in several layers at once.
New- SearchSearch: type once and it looks through apps, files, people or any layers you give it, ranks what it finds and completes the text with the best match. Rest on the empty field and the layers bud off it as droplets; press one to search that layer alone.
- SearchLayers can answer later:
search(query, signal)results join the list when they arrive, and the request is cancelled as soon as the text changes. - Glass can bud a row of up to four droplets off its end as one chain, draw an outline on its very edge and cast a shadow that starts right at it.
v2.0.1
The three.js controls show without WebGL2 and stop leaking GPU memory; the CLI works on Windows.
Improved- LicensingLicence keys for plans added later are accepted as commercial licences, so a newer key keeps working with this version.
- The published build no longer contains readable shader source. Rendering is unchanged.
Fixed- Switch, Checkbox and Slider draw a plain CSS track, box or thumb in browsers without WebGL2, and while the glass loads. Before, only the label showed.
- Switch, Checkbox and Slider share one GPU program. Before, every mount compiled a new one that was never freed.
- Menu
GlassMenuLabelno longer crashes outside aGlassMenuGroup. - The packages depend on each other with version ranges instead of exact versions, so an engine fix no longer puts two copies of the engine in your app.
- CLI
vitrum initinstalls packages on Windows. If an install fails, the error says why and suggests--no-install. - CLI
vitrum activatekeeps Windows line endings and blank lines in.envfiles when it writes the licence key. - CLI
vitrum --versionprints the installed version. - The springs package ships the current licence, readme and third-party notices.
v2.0.0
Buttons melt together, glass bends when pulled, and the engine rests when nothing moves.
New- ButtonCohesion: two buttons that come close melt into one body of glass and share the light of a press.
- ButtonPull: hold and drag a button and it stretches like rubber, then springs back. On by default;
pull={false}keeps it in place. - Rim reflections: clear glass now mirrors what sits around its edge, and refreshes the picture once everything settles.
- PopoverTitle, description and close parts:
GlassPopoverTitle,GlassPopoverDescriptionandGlassPopoverClose. - MenuSubmenus (
GlassMenuSub,GlassMenuSubTrigger,GlassMenuSubContent), checkbox and radio items, groups and shortcuts. - CLIThe CLI is on npm:
npx @vitrumui/cli initsets up a project,activateinstalls a licence key offline,doctorchecks the setup.
Improved- One press light and glow across buttons, menus, popovers, badges, tabs and the three.js controls.
- The engine draws far less: one shared animation loop that stops completely at rest, skips frames that wouldn't change, and reuses its textures.
- CardLarge frosted cards blur at a lower resolution first, so they cost much less to draw.
- BadgeThe scrolling text stops while it is hidden behind the glass.
- PopoverChoose where it opens:
over="center" | "edge"andfrom="top" | "bottom". Its label returns letter by letter as it closes. - Dropdown MenuChoose where it opens with
overandfrom, close faster, and hold the trigger to open it. - SelectThe list closes faster, the press light runs across the seam to the list, and holding the trigger opens it.
- Button GroupA menu trigger can sit inside the group (
GlassMenuTrigger asChild), so a "more" button opens a glass menu. - Action Button
resetKeyreturns it to idle without remounting, and its label changes letter by letter. - Slide to ConfirmA bare track with
fill={false}, rim reflections withmirror, and your owniconon the thumb.
Fixed- PopoverThe panel no longer jumps to the top of the window when it opens; it stays centred on its trigger.
- Slide to ConfirmTrack, fill and thumb stay aligned at every size, and the chevron sits centred.
- Popups keep a small minimum blur in Safari.
v1.1.0
Popover and Menu, glass on your own elements, and themes.
New- PopoverPopover: a button that opens into a small glass panel right where it is.
- MenuMenu: a glass menu that opens toward any side, with labels, icons and shortcuts.
- Custom Glass
useGlass()and<GlassSurface>(@vitrumui/react/surface) put the glass on your own elements. - Theming
<VitrumProvider>,useVitrumTheme()andcreateGlassTheme()in@vitrumui/react/theme, with built-in presets: frost, obsidian, aurora, amber and crystal.
v1.0.0
The first release on npm.
New- ButtonFirst release, in
@vitrumui/react/button. - Action ButtonFirst release, in
@vitrumui/react/action-button. - TabsFirst release, in
@vitrumui/react/tabs. - BadgeFirst release, in
@vitrumui/react/badge. - Slide to ConfirmFirst release, in
@vitrumui/react/slide-to-confirm. - CardFirst release, in
@vitrumui/react/card. - Button GroupFirst release, in
@vitrumui/react/button-group. - SelectFirst release, in
@vitrumui/react/select. - Dropdown MenuFirst release, in
@vitrumui/react/dropdown-menu. - SliderFirst release, in
@vitrumui/react/controls/range-slider. - SwitchFirst release, in
@vitrumui/react/controls/switch. - CheckboxFirst release, in
@vitrumui/react/controls/checkbox. - A precompiled stylesheet,
@vitrumui/react/styles.css, for apps with or without Tailwind. - The WebGL2 glass engine as its own framework-agnostic package.
- Offline licence keys: a valid key removes the non-commercial badge in production. No network calls, and the check never blocks rendering.
- Spring physics and presets as a dependency-free package.
- ButtonFirst release, in