Claymorphism – UI Kit for Unity
One colour in, whole UI out. ... Prefer full control? ... What you get ... Requires Unity UI (uGUI) and TextMeshPro, with the TextMeshPro Essentials imported (a one-time Unity ... Honest notes
by Benedictus24
Price History +
- Number of prefabs: 26
- Number of scenes: 2 (demo scenes)
- Number of scripts: 26 runtime + 12 editor (C#, assembly definitions Benedictus24.ClayUISystem and .Editor)
- Number of materials: 9 (8 clay materials + 1 font material); shaders: 2; fonts: 2 (+ TextMeshPro font assets)
- Icons: 52 coloured PNG sprites and 1,439 white PNG sprites, all 512 x 512 px
- Render pipelines: URP and Built-in (tested), HDRP (not tested)
- Colour space: Linear and Gamma
- Platforms: written for desktop and mobile, with Screen Space and World Space canvases; Windows editor tested; the demo scenes also run as a WebGL build (Chrome tested)
- Dependencies: Unity UI (com.unity.ugui, includes TextMeshPro). Input System is optional.
- Unity versions: see the notes under "Upload checklist" below
- Documentation: PDF in the package (Documentation/Claymorphism Documentation.pdf), README.md, CHANGELOG.md
Try it in your browser. The two demo scenes run as a WebGL demo, no install needed: https://divkaran.itch.io/claymorphism-ui-kit
Key features
- Shader-drawn clay surfaces: any size, any colour, crisp at every resolution, press squash and spring built in
- Recolour the whole UI at runtime from one colour, with dark mode and your own per-role palette overrides
- 26 prefabs and 20+ ready-made components: buttons, toggles, sliders, tab bar, popup, charts, gauges, input fields
- 52 coloured and 1,439 white 3D clay icons, all 512 x 512 px, named and searchable
- Two demo scenes: a pastel kit demo with five pages (the last has a colour picker that recolours it) and a world-space panel
Description
Claymorphism is a UI kit for Unity uGUI. Cards, buttons, chips, toggles and tracks look like soft inflated clay: a light inner highlight, a deeper inner shade, and a tinted drop shadow, all drawn by a shader instead of baked sprites. That means every element can be any size and any colour, edges stay sharp at every resolution, and presses squash and spring back without extra art.
One colour in, whole UI out. Add a theme manager, pick a colour (or move a hue slider) and every screen follows, with a matching dark mode. Prefer full control? Create a Palette Overrides asset and set any colour role by hand, light and dark.
What you get
- 2 shaders (clay surface, page backdrop), each with a Full and a cheaper Lite mode; Lite is the default on Android and iOS
- 26 prefabs and the components behind them: ClayGraphic, button, press feedback, toggle, slider, progress bar, ring gauge, bar chart, bottom navigation, segmented control, popup, screen router, safe area, backdrop and theme system
- 52 coloured 3D clay icons and 1,439 white clay icons that you tint to any colour (all 512 x 512 px, sprites with mipmaps)
- Two demo scenes: a five-page pastel kit demo (wallet, history, equipment, kit gallery and a colour page whose picker recolours that page) and a world-space panel
- Lilita One and Varela Round fonts (SIL Open Font License) with TextMeshPro assets
- Editor tools: GameObject > UI > Claymorphism menu, palette overrides inspector, a tool that builds a lean icon library from the sprites you select
- Documentation PDF with a step-by-step guide, component and script reference, theming, shader, mobile and world-space notes
Requires Unity UI (uGUI) and TextMeshPro, with the TextMeshPro Essentials imported (a one-time Unity prompt).
Works with Screen Space and World Space canvases; URP and the Built-in render pipeline; the Input System package or the legacy Input Manager.
Honest notes
- Developed and tested in Unity 6000.4; also opened and rendered in Unity 6000.0 and 6000.6. Tested in the Built-in render pipeline and URP. HDRP has not been tested.
- Mobile: portrait 1080 x 1920 layouts, Lite shader mode, safe-area component. An Android project export compiled the shaders for OpenGL ES 3 and Vulkan; the package has not been run or profiled on physical devices.
- Works in Linear and Gamma colour space.
- The WebGL demo is the two demo scenes built for WebGL 2 and tested in Chrome only. Other browsers and phones have not been tried.
- The white icon library references all 1,439 sprites; create a small library of the icons you use for lean builds (a menu tool does this).