Create rounded UI panels, buttons, circles, polygons, and gradients directly in Unity — no sprites or atlases required. Sharp, scalable, resolution-independent UI at any size.Procedural UI Shapes — Flexible UI Shapes for UnityStop creating and exporting new sprites every time a UI shape changes.Procedural UI Shapes lets you create common UI shapes directly in Unity using shaders instead of pre-made textures. You can adjust the shape, corner radius, border, gradients, and other properties right from the Inspector and see the changes immediately.Need a rounded panel? Change the corner radius. Want to turn it into a pill-shaped button? Adjust the size and radius. Need a different polygon, border, ring, pie, or progress arc? Change the settings instead of creating another sprite. Because the shapes are generated at runtime, they stay clean even when your UI is resized or displayed at different resolutions.Shapes19 shape types: Circle, Ellipse, Heart, Star, Ring, Pie, Arc, chamfered and rounded rectangles, and every regular polygon from Triangle to DodecagonAdjustable polygon rotation from 0–360°Stars with 3–12 points and an adjustable inner radius, from shallow to spikyChamfered corners — straight 45° cuts instead of arcs, each corner independentRings, pie slices and progress arcs with adjustable sweep, thickness, start angle and rounded end capsConfigurable corner rounding for polygon shapesUniform corner radius for consistent rounded cornersIndependent corner controls for custom layoutsCorner Pair mode for rounding selected sidesEasily create tabs, headers, cards, pills, capsules, buttons, and list elementsAuto Round keeps circular and elliptical shapes visually consistent as their RectTransform changes sizeEvery shape stays inside its element at any rotation — corners are never clippedThe corner controls are especially useful for things like tabs, headers, cards, buttons, and list items where only certain corners need to be rounded.Colours, Borders & GradientsCustomize the visual style of every procedural shape directly from the Inspector.Adjustable border / outline widthFilled or outlined shapesAdjustable edge softness for crisp or feathered edgesSmooth anti-aliased edges at different resolutions and scalesSolid colour supportLinear gradientsRadial gradientsCorner-based gradientsAdjustable gradient resolutionOptional sprite or texture overlay on procedural shapesThis makes it easy to build everything from simple rounded rectangles to more detailed UI elements with borders, gradients, rings, pie charts, and radial progress indicators.Works With Unity UIYou don't need to change the way you build your UI.Procedural UI Shapes works with the Unity UI components and workflows you already use.Works with Mask and Rect Mask 2DSupports Unity UI Images and existing UI workflowsConvert existing Unity UI Images in place with a single right-clickResolution-Independent UITraditional UI sprites often require additional assets when designs change size, scale, or corner radius.Procedural UI Shapes generates the geometry mathematically instead of stretching a bitmap. This makes it suitable for interfaces that need to scale across different screen sizes and resolutions, from mobile devices to large displays.Rounded corners remain clean when the UI element changes dimensions, while shape properties can be modified without creating new sprites.Demo ScenesThree scenes are included: a feature board showing every shape with its settings, a set of complete UI pieces (player card, game HUD, shop item, settings panel, loading screen, notifications), and a working chat screen with a scrolling message list, text input and procedural scrollbar.PerformanceProcedural UI Shapes uses shared materials where possible so compatible UI elements can batch together. Gradients and other material differences may require separate materials, and the Inspector provides information to help you understand which elements can batch together.Since shapes don't need their own texture assets, you also avoid maintaining a separate collection of sprites for every corner-radius or shape variation.As with any Unity UI system, the final draw calls depend on your Canvas setup, materials, masks, gradients, and other UI elements in the scene.RequirementsUnity 2022.3 LTS or newerBuilt-in Render PipelineUniversal Render Pipeline (URP)SupportIf you have a question, feature request, or run into an unusual case, email runtime.void@gmail.com.We read every message and will do our best to help.Tagsrounded corners, rounded rectangle, rounded UI, rounded panel, rounded button, corner radius, border radius, pill button, capsule button, UI shapes, procedural UI, procedural shapes, sprite-free UI, spriteless UI, texture-free UI, UI gradient, gradient button, gradient panel, linear gradient, radial gradient, corner gradient, circle UI, circle image, ellipse, oval, polygon, triangle, pentagon, hexagon, octagon, dodecagon, heart shape, star, star shape, chamfer, bevel, bevelled corners, cut corners, sci-fi UI, arc, ring, donut, pie chart, radial progress, progress ring, cooldown, chat bubble, speech bubble, scrollbar, slider fill, toggle, Unity UI, UI Image, UGUI, Unity Canvas, Canvas UI, UI shader, shader UI, SDF UI, signed distance field, anti-aliasing, smooth UI, star, chamfer, bevel, arc, ring, donut, radial progress, progress ring, cooldown, chat bubble, scrollbar, crisp UI, scalable UI, vector UI, UI outline, UI border, outlined shapes, edge softness, nine slice, 9 slice, sliced image, tiled image, filled image, radial fill, fill amount, progress bar, health bar, UI mask, Rect Mask 2D, draw call batching, UI optimization, UI performance, mobile UI, UI components, UI design, UI system, URP UI, URP, Built-in Render Pipeline, Unity editor tool, Inspector tool, shader source, C# sourceFully procedural UI shape rendering (no sprites required)12 shape modes: Circle, Ellipse, Heart, and every polygon from Triangle through Dodecagon (3–12 sides)Four corner modes: Uniform, Independent per-corner, Corner Pair, and Auto RoundCorner Pair rounds only the top, bottom, left or right cornersPolygon corner rounding, from sharp edges to fully roundedFree polygon rotation, 0–360 degreesAdjustable border width for outlined or filled shapesAdjustable edge softness, from crisp to featheredSmooth anti-aliased edges at any resolution or scaleFill modes: Horizontal, Vertical, RadialSolid colours and gradients (Linear, Radial, Corner)Sprite and texture overlay on top of procedural shapesWorks inside Mask and Rect Mask 2DConvert any existing UI Image in place with one right-clickShared materials batch rounded-corner elements into a single draw callFull C# and shader source, assembly definitions includedResolution-independent renderingBuilt-in Render Pipeline and Universal Render Pipeline (URP)






