# Violet Flow (Shadcn UI preset)

Violet Flow is a free Shadcn UI preset: Vega style, Violet accent with Mist neutrals, Manrope + Instrument Sans, Hugeicons icons and medium corners. Copy the preset code or install it with one command.

- Preset code: `b6DaroKIfh`
- Style: Vega
- Colors: Violet + Mist (base mist, theme violet, charts violet)
- Fonts: Manrope / Instrument Sans
- Icons: Hugeicons
- Radius: Medium corners
- Menus: subtle accent, inverted color
- WCAG AA contrast on all text and buttons: no (7/8 pairs pass)
- Page with live preview: https://shadcnpreview.com/presets/violet-flow

## Install

New project (`--base` is the component library: `radix` for Radix UI, `base` for Base UI, `aria` for React Aria; shadcn defaults to Base UI):

```bash
npx shadcn@latest init --preset b6DaroKIfh --base base --template next
```

Existing shadcn project (reinstalls UI components; add `--only theme` for colors only, or `--only font`):

```bash
npx shadcn@latest apply --preset b6DaroKIfh
```

The same preset as a shadcn registry item (follows `--base`):

```bash
npx shadcn@latest init --preset https://shadcnpreview.com/r/violet-flow.json --base radix
```

Open in shadcn/create: https://ui.shadcn.com/create?preset=b6DaroKIfh

**Violet Flow** is a Shadcn UI preset in the Vega style. It's made for SaaS teams who want a polished default without fighting the design system.

## Best for

- SaaS landing pages
- Onboarding flows
- Startup marketing sites

## Style

Vega is the default Shadcn UI look and the closest match to the original New York style: balanced spacing, medium radius and subtle shadows. It suits almost anything. A medium radius softens corners without looking bubbly.

## Color

The Mist base is a cool grey with a soft blue-green tint, used for backgrounds, borders and muted text. Violet is the theme color, so primary buttons, focus rings and active states pick it up. Charts use the same Violet ramp, so data visualizations feel part of the brand.

## Typography

Headings use Manrope, a sans-serif face, paired with Instrument Sans for body text. That gives headings more character while keeping paragraphs and UI labels easy to read.

## Icons and menus

Hugeicons has modern, detailed icons with a distinctive geometric style. Menus are inverted (dark in light mode, light in dark mode), with a subtle highlight on the active item.

## CSS variables

```css
:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.148 0.004 228.8);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.148 0.004 228.8);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.148 0.004 228.8);
  --primary: oklch(0.491 0.27 292.581);
  --primary-foreground: oklch(0.969 0.016 293.756);
  --secondary: oklch(0.967 0.001 286.375);
  --secondary-foreground: oklch(0.21 0.006 285.885);
  --muted: oklch(0.963 0.002 197.1);
  --muted-foreground: oklch(0.56 0.021 213.5);
  --accent: oklch(0.963 0.002 197.1);
  --accent-foreground: oklch(0.218 0.008 223.9);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.925 0.005 214.3);
  --input: oklch(0.925 0.005 214.3);
  --ring: oklch(0.723 0.014 214.4);
  --sidebar: oklch(0.987 0.002 197.1);
  --sidebar-foreground: oklch(0.148 0.004 228.8);
  --sidebar-primary: oklch(0.541 0.281 293.009);
  --sidebar-primary-foreground: oklch(0.969 0.016 293.756);
  --sidebar-accent: oklch(0.963 0.002 197.1);
  --sidebar-accent-foreground: oklch(0.218 0.008 223.9);
  --sidebar-border: oklch(0.925 0.005 214.3);
  --sidebar-ring: oklch(0.723 0.014 214.4);
  --chart-1: oklch(0.811 0.111 293.571);
  --chart-2: oklch(0.606 0.25 292.717);
  --chart-3: oklch(0.541 0.281 293.009);
  --chart-4: oklch(0.491 0.27 292.581);
  --chart-5: oklch(0.432 0.232 292.759);
  --radius: 0.625rem;
}

.dark {
  --background: oklch(0.148 0.004 228.8);
  --foreground: oklch(0.987 0.002 197.1);
  --card: oklch(0.218 0.008 223.9);
  --card-foreground: oklch(0.987 0.002 197.1);
  --popover: oklch(0.218 0.008 223.9);
  --popover-foreground: oklch(0.987 0.002 197.1);
  --primary: oklch(0.432 0.232 292.759);
  --primary-foreground: oklch(0.969 0.016 293.756);
  --secondary: oklch(0.274 0.006 286.033);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.275 0.011 216.9);
  --muted-foreground: oklch(0.723 0.014 214.4);
  --accent: oklch(0.275 0.011 216.9);
  --accent-foreground: oklch(0.987 0.002 197.1);
  --destructive: oklch(0.704 0.191 22.216);
  --border: oklch(1 0 0 / 10%);
  --input: oklch(1 0 0 / 15%);
  --ring: oklch(0.56 0.021 213.5);
  --sidebar: oklch(0.218 0.008 223.9);
  --sidebar-foreground: oklch(0.987 0.002 197.1);
  --sidebar-primary: oklch(0.606 0.25 292.717);
  --sidebar-primary-foreground: oklch(0.969 0.016 293.756);
  --sidebar-accent: oklch(0.275 0.011 216.9);
  --sidebar-accent-foreground: oklch(0.987 0.002 197.1);
  --sidebar-border: oklch(1 0 0 / 10%);
  --sidebar-ring: oklch(0.56 0.021 213.5);
  --chart-1: oklch(0.811 0.111 293.571);
  --chart-2: oklch(0.606 0.25 292.717);
  --chart-3: oklch(0.541 0.281 293.009);
  --chart-4: oklch(0.491 0.27 292.581);
  --chart-5: oklch(0.432 0.232 292.759);
}

```
