Workspace Preferences Panel

Workspace

Settings your front desk can change without a ticket

Every preference is scoped to the workspace, written to the audit trail, and reversible by the same person who changed it.

Notifications

Decide what leaves the building, and on which channel.

Appointment reminders

Send a reminder 24 hours before, on the member's preferred channel.

Waitlist offers

Offer a cancelled slot to the waitlist before it goes public.

Daily digest for clinicians

One message at 07:30 with the day's list and any changes overnight.

Changes apply to the whole workspace and are written to the audit trail.

About this block

Workspace Preferences PanelPRO

A settings panel with a section rail on the left and the chosen group on the right, laying out hairline preference rows with switches, a select for the group's default, and a save bar underneath.

Settings66: Workspace Preferences Panel

Settings panel with a section rail on the left and the chosen group on the right, laying out preference rows separated by hairlines, each with its own switch, a select for the group's default, and a save bar underneath.

Upgrade to Pro

Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.

Upgrade Now

Installation

Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/settings66?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/settings66?email=YOUR_EMAIL&license_key=YOUR_KEY"

This installs the block to components/beste/block/settings66.tsx, the select and switch shadcn/ui primitives it is built on, and the badge23 and button21 components it uses for the eyebrow and the save action.

Quick start

The installed file exports settings66Demo alongside the block: the exact props behind the preview above. Spread it to get a working panel in one line.

tsx
import { Settings66, settings66Demo } from "@/components/beste/block/settings66";

export default function SettingsPage() {
  return <Settings66 {...settings66Demo} />;
}

Then replace the demo with your own props. Written out, a trimmed setup looks like this:

tsx
import { Settings66 } from "@/components/beste/block/settings66";

export default function SettingsPage() {
  return (
    <Settings66
      badge={{ label: "Workspace" }}
      heading="Settings your front desk can change without a ticket"
      sections={[
        {
          name: "Notifications",
          title: "Notifications",
          description: "Decide what leaves the building, and on which channel.",
          toggles: [
            {
              title: "Appointment reminders",
              description: "Send a reminder 24 hours before the appointment.",
              enabled: true,
            },
            {
              title: "Daily digest for clinicians",
              description: "One message at 07:30 with the day's list.",
            },
          ],
          choice: { label: "Reminder channel", options: ["Email only", "SMS only"] },
        },
      ]}
      saveBar={{
        note: "Changes apply to the whole workspace and are written to the audit trail.",
        buttonLabel: "Save preferences",
      }}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string }–Monospace eyebrow above the hairline rule, rendered via Badge23
headingstring–Section heading in the left column
descriptionstring–Supporting paragraph, right-aligned from md up
sectionsSettingsSection[][]Groups in the rail, and the rows each one shows
saveBar{ note: string; buttonLabel: string }–Note and save action along the bottom of the panel
classNamestring–Extra classes for the outer <section>
ts
type Toggle = {
  title: string;
  description: string;
  enabled?: boolean;
};

type Choice = { label: string; options: string[] };

type SettingsSection = {
  name: string;
  title: string;
  description: string;
  toggles?: Toggle[];
  choice?: Choice;
};

Behavior notes

  • Switch state is stored in one record keyed by section and row index, and a key that has not been touched falls back to the row's own enabled. Flipping a switch, moving to another group, and coming back keeps the change.
  • name is the rail label and title is the heading inside the panel, so the rail can stay short while the group's heading says the whole thing.
  • The select is remounted per section through a key on the active index. Without it, React would keep the first group's chosen value mounted while the options underneath changed.
  • Its defaultValue is the first entry of options, so the control opens on a real choice, and the value is uncontrolled from there.
  • Nothing is persisted: there is no onChange and the save button has no handler, so the panel is a faithful shell and the write is the integrator's.
  • Rows carry a bottom rule that is dropped on the last one, and the select row draws none of its own, so the group never doubles a line against the save bar below it.
  • The rail is a wrapping row of pills on mobile and becomes a vertical list at lg, with the active group marked by a muted fill rather than a border.

Wiring the form up

This block ships the preference markup only; persistence, validation, and saving are yours to add. Our guide wires field markup like this to React Hook Form, TanStack Form, and Formisch on one field system.

More Settings blocks

View all Settings
PRO

settings68

Workspace Settings With Collapsible Groups

PRO

settings67

Email Preferences With Live Volume

FREE

settings64

Invoice History Table

Get Pro access