---
name: visitors-style
description: Build interfaces that look like Visitors (visitors.now), using its measured colours, type, radius, shadows, motion and component recipes. Use when asked to match Visitors's design or to make UI look like Visitors.
---

# Visitors style

Measured from the running Visitors app (visitors.now). Keep every value exact. Map the tokens onto the project's own theme variables instead of hard-coding them.

## How to use

1. Add the tokens below to the project's theme, light and dark.
2. Before building a component, fetch its recipe from the list at the end and follow its CSS exactly.
3. Use the project's own component library for behaviour, or Base UI if it has none.
4. For the full brand, colour, type, radius, shadow and motion tables, fetch https://replicas.raphaelsalaja.com/foundations/brand.md?style=visitors and the other foundations pages listed in https://replicas.raphaelsalaja.com/llms.txt.

## Brand

Write Visitors with a capital V. It names both the company and the product, so don't write "Visitors app" or "Visitors analytics".

- Visitors Black: `#181925`
- Visitors Purple: `#918DF6`

## Tokens

```css
[data-style="visitors"] {
  color-scheme: light;

  --background: #fff;
  --background-subtle: #fafafa;
  --bg-1: #fff;
  --bg-2: #f5f5f5;
  --bg-3: #f0f0f0;
  --bg-4: #e8e8e8;
  --fg-1: #b3b3b3;
  --fg-2: #999;
  --fg-3: #666;
  --fg-4: #181925;
  --bg-a1: #00000008;
  --bg-a2: #0000000d;
  --bg-a3: #00000014;
  --bg-a4: #0000001f;
  --fg-a1: #0000004d;
  --fg-a2: #0006;
  --fg-a3: #0009;
  --fg-a4: #181925e0;
  --gray-1: #f7f7f7;
  --gray-2: #e0e0e0;
  --gray-3: #ccc;
  --gray-4: #b3b3b3;
  --gray-a1: #00000008;
  --gray-a2: #0000001a;
  --gray-a3: #0003;
  --gray-a4: #0000004d;
  --blue-1: #f0fbff;
  --blue-2: #c2f1ff;
  --blue-3: #4cd5ff;
  --blue-4: #00c4ff;
  --red-1: #fff3f0;
  --red-2: #ffe2db;
  --red-3: #ffd5cc;
  --red-4: #ff2f00;
  --green-1: #effbf2;
  --green-2: #c2efcd;
  --green-3: #71da8b;
  --green-4: #33c758;
  --amber-1: #fff8eb;
  --amber-2: #ffeac2;
  --amber-3: #ffc65c;
  --amber-4: #ffa600;
  --purple-1: #f1f1fe;
  --purple-2: #dad9fc;
  --purple-3: #b5b3f9;
  --purple-4: #918df6;
  --sky-1: #ebf2ff;
  --sky-2: #bed5fe;
  --sky-3: #689ffd;
  --sky-4: #2c78fc;
  --orange-4: #f76808;
  --pink-4: #d6409f;
  --yellow-4: #f5d90a;
  --blue-a1: #00c4ff14;
  --blue-a2: #00c4ff29;
  --red-a1: #ff2f0014;
  --red-a2: #ff2f0029;
  --green-a1: #33c75814;
  --green-a2: #33c75829;
  --green-a3: #33c75866;
  --amber-a1: #ffa60014;
  --amber-a2: #ffa60029;
  --purple-a1: #918df614;
  --purple-a2: #918df629;
  --purple-a3: #918df666;
  --sky-a1: #2c78fc14;
  --sky-a2: #2c78fc29;

  --radius-1: 0.125rem;
  --radius-2: 0.25rem;
  --radius-3: 0.375rem;
  --radius-4: 0.5rem;
  --radius-5: 0.75rem;
  --radius-6: 1rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;

  --shadow-1: 0px 1px 1px #00000014, 0px 0px 0px 1px #0000000d;
  --shadow-2: 0px 1px 3px #00000014, 0px 0px 0px 1px #00000005;
  --shadow-3: 0px 1px 3px #0000000f, 0px 8px 16px #0000000f, 0px 0px 0px 1px #00000005;
  --shadow-4: 0px 3px 12px #0000000f, 0px 4px 16px #0000000f, 0px 0px 0px 1px #00000008;
  --shadow-surface: 0px 1px 1px rgba(0, 0, 0, 0.08), 0px 0px 0px 1px rgba(0, 0, 0, 0.05);
  --shadow-surface-hover: 0px 1px 1px rgba(0, 0, 0, 0.12), 0px 0px 0px 1px rgba(0, 0, 0, 0.1);
  --shadow-thumb: 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 2px 3px 0 rgba(0, 0, 0, 0.1);

  --surface-control: var(--background);
  --ghost-fill: var(--bg-a1);
  --ghost-fill-hover: var(--bg-a2);
  --code-text: #3d3d3d;
  --code-comment: #9ca3af;
  --code-punctuation: #6b7280;
  --code-keyword: #7c3aed;
  --code-string: #0d9488;
  --code-function: #c2410c;

  --bg-primary: var(--background);
  --bg-secondary: var(--bg-2);
  --bg-tertiary: var(--bg-3);
  --bg-quaternary: var(--background-subtle);
  --bg-sidebar: var(--background-subtle);

  --border-primary: var(--bg-3);
  --border-secondary: var(--bg-4);
  --border-tertiary: var(--gray-2);

  --text-primary: var(--fg-4);
  --text-secondary: var(--fg-3);
  --text-tertiary: var(--fg-2);
  --text-quaternary: var(--fg-1);

  --surface-bg: var(--background);
  --surface-border: var(--bg-a2);
  --surface-divider: var(--bg-3);
  --surface-text: var(--fg-4);
  --surface-text-strong: var(--fg-4);
  --surface-text-muted: var(--fg-2);
  --surface-highlight: var(--bg-3);

  --dialog-bg: var(--background);
  --dialog-text: var(--fg-3);
  --overlay: color-mix(in srgb, var(--fg-4) 20%, transparent);

  --accent: var(--purple-4);
  --accent-hover: var(--purple-4);
  --accent-text: #fff;

  --chip-bg: var(--surface-control);
  --chip-bg-hover: var(--surface-control);
  --chip-text: var(--fg-4);
  --chip-ring: rgba(0, 0, 0, 0.05);
  --chip-ring-hover: rgba(0, 0, 0, 0.1);

  --ghost-text: var(--fg-3);
  --ghost-text-hover: var(--fg-3);
  --ghost-bg-hover: var(--ghost-fill-hover);

  --switch-bg: var(--bg-3);
  --switch-thumb: var(--background);

  --bg-hover: var(--bg-a2);
  --text-faint: var(--fg-1);

  --button-secondary-bg: var(--ghost-fill);
  --button-secondary-bg-hover: var(--ghost-fill-hover);
  --button-ring: rgba(0, 0, 0, 0.05);
  --button-ring-hover: rgba(0, 0, 0, 0.1);
  --button-ghost-border: color-mix(in srgb, var(--fg-4) 12%, transparent);
  --button-tab-active: var(--bg-a2);
  --button-circle-bg: var(--ghost-fill);

  --danger: var(--red-4);
  --danger-hover: var(--red-4);
  --danger-text: var(--red-4);
  --danger-bg-hover: var(--red-a1);

  --input-bg: var(--bg-2);
  --input-border: transparent;
  --input-border-hover: transparent;
  --input-text: var(--fg-4);

  --card-bg: var(--background);
  --card-ring: rgba(0, 0, 0, 0.02);

  --status-blue: var(--sky-4);
  --status-green: var(--green-4);
  --status-amber: var(--amber-4);
  --status-red: var(--red-4);

  --shadow-low: var(--shadow-1);
  --shadow-menu: var(--shadow-3);
  --shadow-dialog: var(--shadow-3);

  --focus-ring: var(--purple-2);

  --font-regular: "OpenRunde", "Open Runde", "Inter", sans-serif;
  --font-monospace: "SF Mono", Menlo, "OpenRunde", "Open Runde", sans-serif;
  --letter-spacing: -0.32px;

  --font-size-micro: 0.6875rem;
  --font-size-mini: 0.75rem;
  --font-size-small: 0.875rem;
  --font-size-regular: 1rem;
  --font-size-large: 1.125rem;
  --font-size-title3: 1.25rem;
  --font-size-title2: 1.5rem;
  --font-size-title1: 2.25rem;

  --font-weight-light: 400;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 600;

  --radius-control: var(--radius-5);
  --radius-menu: var(--radius-5);
  --radius-dialog: var(--radius-3xl);
  --radius-kbd: var(--radius-2);
  --radius-rounded: 9999px;

  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-pulse: cubic-bezier(0.4, 0, 0.6, 1);
  --ease-enter: ease;
  --ease-accordion: ease-out;
  --ease-spring-panel: linear(0, 0.0319, 0.0993, 0.1848, 0.2768, 0.3682, 0.4598, 0.5384, 0.6087, 0.6704, 0.7239, 0.7698, 0.8111, 0.8437, 0.8711, 0.894, 0.9131, 0.9288, 0.9426, 0.9532, 0.9619, 0.969, 0.9748, 0.9798, 0.9837, 0.9868, 0.9893, 0.9913, 0.993, 0.9944, 0.9955, 0.9964, 0.9971, 0.9977, 0.9981, 0.9985, 0.9988, 0.999, 0.9992, 0.9994, 1);
  --ease-spring-sheet: linear(0, 0.0257, 0.0808, 0.1586, 0.2394, 0.3279, 0.408, 0.4887, 0.5577, 0.6242, 0.6792, 0.7308, 0.7725, 0.811, 0.8417, 0.8696, 0.8915, 0.9113, 0.9267, 0.9404, 0.951, 0.9598, 0.9676, 0.9736, 0.9788, 0.9828, 0.9863, 0.9889, 0.9912, 0.9929, 0.9944, 0.9955, 0.9965, 0.9972, 0.9978, 0.9983, 0.9986, 0.9989, 0.9992, 0.9994, 1);
  --ease-spring-copy: linear(0, 0.0288, 0.0882, 0.1657, 0.2608, 0.3494, 0.4354, 0.5162, 0.597, 0.6624, 0.72, 0.7746, 0.8167, 0.8524, 0.8822, 0.9092, 0.9292, 0.9454, 0.9584, 0.9698, 0.9778, 0.9841, 0.9893, 0.9929, 0.9955, 0.9975, 0.999, 1, 1.0006, 1.001, 1.0012, 1.0013, 1.0013, 1.0013, 1.0012, 1.0011, 1.0009, 1.0008, 1.0007, 1.0006, 1);

  --transition-colors: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke,
    --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;

  --duration-thumb: 50ms;
  --duration-fast: 150ms;
  --duration-popup: 150ms;
  --duration-dialog: 200ms;
  --duration-accordion: 200ms;
  --duration-color: 300ms;
  --duration-spin: 1s;
  --duration-pulse: 2s;
  --duration-spring-panel: 648ms;
  --duration-spring-sheet: 580ms;
  --duration-spring-copy: 412ms;

  --speed-highlight-fade-in: var(--duration-fast);
  --speed-quick: var(--duration-fast);
  --speed-highlight-fade-out: var(--duration-fast);
  --speed-regular: var(--duration-dialog);
  --speed-slow: var(--duration-color);

  --ease-out-quad: var(--ease-out);
  --ease-out-cubic: var(--ease-out);
  --ease-out-quint: var(--ease-out);
  --ease-in-out-quad: var(--ease-in-out);
}

[data-style="visitors"][data-theme="dark"] {
  color-scheme: dark;

  --background: #14141f;
  --background-subtle: #181925;
  --bg-1: #181925;
  --bg-2: #212131;
  --bg-3: #2b2c3b;
  --bg-4: #333447;
  --fg-1: #73748c;
  --fg-2: #9192a1;
  --fg-3: #bbbcc3;
  --fg-4: #eaeaeb;
  --bg-a1: #cccfff14;
  --bg-a2: #cccfff1a;
  --bg-a3: #cccfff24;
  --bg-a4: #cccfff33;
  --fg-a1: #ffffff4d;
  --fg-a2: #fff6;
  --fg-a3: #ffffffa6;
  --fg-a4: #ffffffeb;
  --gray-1: #1d1d20;
  --gray-2: #4e4e56;
  --gray-3: #61616b;
  --gray-4: #898a94;
  --gray-a1: #ffffff08;
  --gray-a2: #ffffff1a;
  --gray-a3: #ffffff2e;
  --gray-a4: #ffffff38;
  --blue-1: #002733;
  --blue-2: #003b4d;
  --blue-3: #0089b3;
  --blue-4: #00c4ff;
  --red-1: #330900;
  --red-2: #4d0e00;
  --red-3: #b32100;
  --red-4: #ff2f00;
  --green-1: #0a2912;
  --green-2: #134920;
  --green-3: #258e3f;
  --green-4: #33c758;
  --amber-1: #332100;
  --amber-2: #4d3200;
  --amber-3: #b37400;
  --amber-4: #ffa600;
  --purple-1: #05042f;
  --purple-2: #080547;
  --purple-3: #1710d5;
  --purple-4: #9580ff;
  --sky-1: #011332;
  --sky-2: #011c4b;
  --sky-3: #034cc9;
  --sky-4: #2c78fc;

  --shadow-surface: 0px 1px 1px rgba(0, 0, 0, 0.08), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.1);
  --shadow-surface-hover: 0px 1px 1px rgba(0, 0, 0, 0.1), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);

  --surface-control: var(--bg-3);
  --ghost-fill: var(--bg-a3);
  --ghost-fill-hover: var(--bg-a4);
  --code-text: var(--fg-4);
  --code-comment: #6b7280;
  --code-punctuation: #9ca3af;
  --code-keyword: #a78bfa;
  --code-string: #2dd4bf;
  --code-function: #fb923c;

  --chip-ring: rgba(255, 255, 255, 0.1);
  --chip-ring-hover: rgba(255, 255, 255, 0.2);
  --button-ring: rgba(255, 255, 255, 0.1);
  --button-ring-hover: rgba(255, 255, 255, 0.2);
}
```

## Components

- [Accordion](https://replicas.raphaelsalaja.com/components/accordion.md?style=visitors)
- [Alert Dialog](https://replicas.raphaelsalaja.com/components/alert-dialog.md?style=visitors)
- [Attachment](https://replicas.raphaelsalaja.com/components/attachment.md?style=visitors)
- [Autocomplete](https://replicas.raphaelsalaja.com/components/autocomplete.md?style=visitors)
- [Avatar](https://replicas.raphaelsalaja.com/components/avatar.md?style=visitors)
- [Badge](https://replicas.raphaelsalaja.com/components/badge.md?style=visitors)
- [Banner](https://replicas.raphaelsalaja.com/components/banner.md?style=visitors)
- [Breadcrumbs](https://replicas.raphaelsalaja.com/components/breadcrumbs.md?style=visitors)
- [Button](https://replicas.raphaelsalaja.com/components/button.md?style=visitors)
- [Button Group](https://replicas.raphaelsalaja.com/components/button-group.md?style=visitors)
- [Calendar Event](https://replicas.raphaelsalaja.com/components/calendar-event.md?style=visitors)
- [Card](https://replicas.raphaelsalaja.com/components/card.md?style=visitors)
- [Chain of Thought](https://replicas.raphaelsalaja.com/components/chain-of-thought.md?style=visitors)
- [Chat](https://replicas.raphaelsalaja.com/components/chat.md?style=visitors)
- [Checkbox](https://replicas.raphaelsalaja.com/components/checkbox.md?style=visitors)
- [Checkbox Group](https://replicas.raphaelsalaja.com/components/checkbox-group.md?style=visitors)
- [Checkpoint](https://replicas.raphaelsalaja.com/components/checkpoint.md?style=visitors)
- [Code Block](https://replicas.raphaelsalaja.com/components/code-block.md?style=visitors)
- [Collapsible](https://replicas.raphaelsalaja.com/components/collapsible.md?style=visitors)
- [Combobox](https://replicas.raphaelsalaja.com/components/combobox.md?style=visitors)
- [Command Palette](https://replicas.raphaelsalaja.com/components/command-palette.md?style=visitors)
- [Confirmation](https://replicas.raphaelsalaja.com/components/confirmation.md?style=visitors)
- [Connector](https://replicas.raphaelsalaja.com/components/connector.md?style=visitors)
- [Context](https://replicas.raphaelsalaja.com/components/context.md?style=visitors)
- [Context Menu](https://replicas.raphaelsalaja.com/components/context-menu.md?style=visitors)
- [Data Table](https://replicas.raphaelsalaja.com/components/data-table.md?style=visitors)
- [Dialog](https://replicas.raphaelsalaja.com/components/dialog.md?style=visitors)
- [Drawer](https://replicas.raphaelsalaja.com/components/drawer.md?style=visitors)
- [Email Draft](https://replicas.raphaelsalaja.com/components/email-draft.md?style=visitors)
- [Empty](https://replicas.raphaelsalaja.com/components/empty.md?style=visitors)
- [Field](https://replicas.raphaelsalaja.com/components/field.md?style=visitors)
- [Fieldset](https://replicas.raphaelsalaja.com/components/fieldset.md?style=visitors)
- [File Tree](https://replicas.raphaelsalaja.com/components/file-tree.md?style=visitors)
- [Files Changed](https://replicas.raphaelsalaja.com/components/files-changed.md?style=visitors)
- [Flight](https://replicas.raphaelsalaja.com/components/flight.md?style=visitors)
- [Form](https://replicas.raphaelsalaja.com/components/form.md?style=visitors)
- [Image Gallery](https://replicas.raphaelsalaja.com/components/image-gallery.md?style=visitors)
- [Inline Citation](https://replicas.raphaelsalaja.com/components/inline-citation.md?style=visitors)
- [Input](https://replicas.raphaelsalaja.com/components/input.md?style=visitors)
- [Input Group](https://replicas.raphaelsalaja.com/components/input-group.md?style=visitors)
- [Kbd](https://replicas.raphaelsalaja.com/components/kbd.md?style=visitors)
- [Label](https://replicas.raphaelsalaja.com/components/label.md?style=visitors)
- [Link](https://replicas.raphaelsalaja.com/components/link.md?style=visitors)
- [Link Preview](https://replicas.raphaelsalaja.com/components/link-preview.md?style=visitors)
- [Menu](https://replicas.raphaelsalaja.com/components/menu.md?style=visitors)
- [Menubar](https://replicas.raphaelsalaja.com/components/menubar.md?style=visitors)
- [Message](https://replicas.raphaelsalaja.com/components/message.md?style=visitors)
- [Meter](https://replicas.raphaelsalaja.com/components/meter.md?style=visitors)
- [Model Selector](https://replicas.raphaelsalaja.com/components/model-selector.md?style=visitors)
- [Navigation Menu](https://replicas.raphaelsalaja.com/components/navigation-menu.md?style=visitors)
- [Number Field](https://replicas.raphaelsalaja.com/components/number-field.md?style=visitors)
- [OTP Field](https://replicas.raphaelsalaja.com/components/otp-field.md?style=visitors)
- [Pagination](https://replicas.raphaelsalaja.com/components/pagination.md?style=visitors)
- [Place](https://replicas.raphaelsalaja.com/components/place.md?style=visitors)
- [Plan](https://replicas.raphaelsalaja.com/components/plan.md?style=visitors)
- [Popover](https://replicas.raphaelsalaja.com/components/popover.md?style=visitors)
- [Preview Card](https://replicas.raphaelsalaja.com/components/preview-card.md?style=visitors)
- [Product Card](https://replicas.raphaelsalaja.com/components/product-card.md?style=visitors)
- [Progress](https://replicas.raphaelsalaja.com/components/progress.md?style=visitors)
- [Prompt Input](https://replicas.raphaelsalaja.com/components/prompt-input.md?style=visitors)
- [Question](https://replicas.raphaelsalaja.com/components/question.md?style=visitors)
- [Queue](https://replicas.raphaelsalaja.com/components/queue.md?style=visitors)
- [Radio Group](https://replicas.raphaelsalaja.com/components/radio-group.md?style=visitors)
- [Reasoning](https://replicas.raphaelsalaja.com/components/reasoning.md?style=visitors)
- [Scroll Area](https://replicas.raphaelsalaja.com/components/scroll-area.md?style=visitors)
- [Select](https://replicas.raphaelsalaja.com/components/select.md?style=visitors)
- [Separator](https://replicas.raphaelsalaja.com/components/separator.md?style=visitors)
- [Shimmer](https://replicas.raphaelsalaja.com/components/shimmer.md?style=visitors)
- [Shipment](https://replicas.raphaelsalaja.com/components/shipment.md?style=visitors)
- [Skeleton](https://replicas.raphaelsalaja.com/components/skeleton.md?style=visitors)
- [Slider](https://replicas.raphaelsalaja.com/components/slider.md?style=visitors)
- [Sources](https://replicas.raphaelsalaja.com/components/sources.md?style=visitors)
- [Spinner](https://replicas.raphaelsalaja.com/components/spinner.md?style=visitors)
- [Stack Trace](https://replicas.raphaelsalaja.com/components/stack-trace.md?style=visitors)
- [Stock](https://replicas.raphaelsalaja.com/components/stock.md?style=visitors)
- [Subagent](https://replicas.raphaelsalaja.com/components/subagent.md?style=visitors)
- [Suggestion](https://replicas.raphaelsalaja.com/components/suggestion.md?style=visitors)
- [Switch](https://replicas.raphaelsalaja.com/components/switch.md?style=visitors)
- [Table](https://replicas.raphaelsalaja.com/components/table.md?style=visitors)
- [Tabs](https://replicas.raphaelsalaja.com/components/tabs.md?style=visitors)
- [Tag](https://replicas.raphaelsalaja.com/components/tag.md?style=visitors)
- [Tag Input](https://replicas.raphaelsalaja.com/components/tag-input.md?style=visitors)
- [Task](https://replicas.raphaelsalaja.com/components/task.md?style=visitors)
- [Terminal](https://replicas.raphaelsalaja.com/components/terminal.md?style=visitors)
- [Test Results](https://replicas.raphaelsalaja.com/components/test-results.md?style=visitors)
- [Text](https://replicas.raphaelsalaja.com/components/text.md?style=visitors)
- [Textarea](https://replicas.raphaelsalaja.com/components/textarea.md?style=visitors)
- [Toast](https://replicas.raphaelsalaja.com/components/toast.md?style=visitors)
- [Toggle](https://replicas.raphaelsalaja.com/components/toggle.md?style=visitors)
- [Toggle Group](https://replicas.raphaelsalaja.com/components/toggle-group.md?style=visitors)
- [Tool](https://replicas.raphaelsalaja.com/components/tool.md?style=visitors)
- [Toolbar](https://replicas.raphaelsalaja.com/components/toolbar.md?style=visitors)
- [Tooltip](https://replicas.raphaelsalaja.com/components/tooltip.md?style=visitors)
- [Voice Message](https://replicas.raphaelsalaja.com/components/voice-message.md?style=visitors)
- [Weather](https://replicas.raphaelsalaja.com/components/weather.md?style=visitors)