Glass components for React, drawn by one zero-dependency WebGL2 shader: buttons, tabs, sliders, switches, selects and a slide to confirm, each named for the one thing it does. MIT.
Tick: a checkbox under a cap of clear glass. Needs three, @ui-sdk/core and @ui-sdk/react.
Merge: an async action button whose arrow droplet melts into the body when pressed, and stays.
Flow: a glass badge with its text flowing through the lens.
Press: a clear or tinted glass button that swells under the pointer. Needs @ui-sdk/core and @ui-sdk/react.
Share: related actions in one body of glass, side by side or stacked, with separators and text.
Hold: a frosted glass card that holds your content while its rim bends what slides behind.
Open: a menu of actions that swells out of its trigger, or out of a whole GlassButtonGroup, as one body of glass (GlassPopup included). Needs @ui-sdk/core and @ui-sdk/react.
Grow: a menu its button (or a whole GlassButtonGroup) grows into, on any side, with submenus, checkbox and radio items, groups and shortcuts (GlassPopup included). Needs @ui-sdk/core and @ui-sdk/react.
Unfold: a small surface its button unfolds into, right where the button is (GlassPopup included). Needs @ui-sdk/core and @ui-sdk/react.
Stretch: a select whose list swells out of its button as one body of glass, on a neck that stretches and snaps (GlassPopup included). Needs @ui-sdk/core and @ui-sdk/react.
Drag: a slide-to-confirm track whose glass thumb is dragged to the end to run one deliberate action.
Travel: a segmented control whose selection travels as a lens (GlassLens included). Needs @ui-sdk/core and @ui-sdk/react.
GlassButton, GlassActionButton, GlassTabs, GlassBadge, GlassSlideToConfirm, GlassCard and GlassButtonGroup on one WebGL2 engine. GlassButton and GlassTabs need @ui-sdk/core and @ui-sdk/react.
Slide: a range slider whose glass thumb opens into a wide lens while held. Needs three, @ui-sdk/core and @ui-sdk/react.
Flip: an on/off switch whose knob swells into a clear lens as it crosses the track. Needs three, @ui-sdk/core and @ui-sdk/react.