Gradient builder

Gradient builder is a Color Pickers block from Orvain UI, built for React and Vue with a matching Figma frame.

Best for

Building a gradient you can paste: stops, positions, angle and the CSS

Anatomy

Shape capsule · preview with the angle dial and number on it · stop track with pins · flat stop rows (swatch popover, hex, position, remove) · Add stop, Reverse, Distribute · presets · syntax-tinted CSS with Copy

MCPConnect the MCP server

Gradient

Presets

CSS
background: linear-gradient(135deg, #0B1F6B 0%, #3E6BFF 45%, #FF9AC4 100%);

In the Orvain Library

Get Gradient builder for your product

The block’s code in React and Vue, its frame in the Figma file, and the Orvain MCP so your AI tools build with it. Part of every Library plan, alongside every other block.

  • React
  • Vue
  • Figma frame
  • Orvain MCP

About this block

Part of Color Pickers

What’s inside

07parts

The pieces it is built from. Keep them all, or drop the ones your product doesn’t need.

  1. Shape capsule
  2. Preview with the angle dial and number on it
  3. Stop trackwith pins
  4. Flat stop rowsswatch popover, hex, position, remove
  5. Add stopReverse, Distribute
  6. Presets
  7. Syntax-tinted CSSwith Copy

Responsive behaviour

560 px

Drawn at this width and never stretched past it. Below it, controls, text and spacing step down from the box the block sits in, not the window.

1440pxDesktop · 12 columns

When to use it

Where Color Pickers earns its place

Reach for Color Pickers

  • A theme editor where someone sets the colors the product will inherit
  • Design and diagramming tools, where color is chosen many times in a session
  • Building a gradient that will be pasted into a stylesheet
  • Recoloring a label, a calendar or a category from the row it belongs to

Reach for something else

  • The product has a palette and the answer should come from it: show swatches, because a free spectrum invites colors that break the theme
  • The color carries meaning for a status or a category; bind it to the value in code with a fixed set of tokens so it means the same thing everywhere
  • Precision work on a phone: a saturation area under a fingertip cannot resolve what a pointer can, so lead with a hex field and a swatch grid

Accessibility

06to keep

What the block ships with. Hold on to these as you make it yours.

  • Named controlsEvery icon-only button keeps a text label, so a screen reader can say what it does.
  • Keyboard firstEvery control is reachable with Tab, and its focus ring stays visible.
  • More than colourA state never rides on colour alone; a mark or a word goes with it.
  • Contrast holdsRetheme freely, but keep text at or above the contrast it ships with.
  • Calm motionFor visitors who ask for reduced motion, things simply appear.
  • Room to hitTargets stay at least 24px, with space between neighbours.

Notes for AI

1 line

Is all your assistant needs. With the Orvain MCP connected, it builds the block from your own tokens and components.

Add the Orvain “Gradient builder” block to this page: shape capsule, preview with the angle dial and number on it, stop track with pins, flat stop rows (swatch popover, hex, position, remove), Add stop, Reverse, Distribute, presets, syntax-tinted CSS with Copy.

Works in
Connect the MCP

Questions about Gradient builder.

What is the Gradient builder block?

Gradient builder is a Color Pickers block from Orvain UI, built for React and Vue with a matching Figma frame. Best for building a gradient you can paste: stops, positions, angle and the CSS.

What is the Gradient builder block made of?

Is the Gradient builder block responsive?

Is the Gradient builder block accessible?

How do I add the Gradient builder block to my project?

When should I not use a Color Pickers block?

More Color Pickers blocks

All Color Pickers

Colour picker

The picker a design tool opens: paint type, stops, area and the value field in one card

Colour picker, contrast map

Picking text colours: the area shows where text stays readable on your background

Colour picker, tokens

A picker inside a design system that steers back to the system

Fancy picker

The same picker as a panel: tabs for your own colours and the shared libraries

Gradient builder, on canvas

Editing a gradient directly on the gradient

Gradient builder, smooth

Gradients without the grey middle: sRGB and OKLCH side by side

Choose colour

A compact colour field with the parts that were missing

Choose colour, field

How a colour is chosen in a form: a field that opens a picker

Choose colour, tones

Pick a hue, then a tone from a ramp of nine

Change colour

Recolouring labels in place

Change colour, palette

Recolouring from a few colours that work together

Change colour, in place

Recolouring without a popover

The Orvain Dispatch

Premium components, free in your inbox.

Join the Orvain Dispatch and get production-ready components, free to keep: React and Vue code plus the Figma frame, yours to ship.

Just components, never spam. You can unsubscribe anytime.