Notification Preferences

Onboarding screen with toggle switches for configuring notification channels and frequency. Perfect for apps that need granular notification consent during setup.

PRO

Onboarding18: Notification Preferences

Onboarding screen that groups notification toggles under category headings inside a single card, using shadcn Switch controls seeded from each option's default state, with a live " notifications enabled" tally beneath.

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.

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/onboarding18?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

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

This installs the block to components/beste/block/onboarding18.tsx and the badge, button, and switch shadcn/ui primitives it depends on.

Quick start

The installed file exports onboarding18Demo alongside the block: the exact props behind the preview above. Spread it to get a working notification preferences step in one line.

tsx
import { Onboarding18, onboarding18Demo } from "@/components/beste/block/onboarding18";

export default function OnboardingPage() {
  return <Onboarding18 {...onboarding18Demo} />;
}

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

tsx
import { Onboarding18 } from "@/components/beste/block/onboarding18";

export default function OnboardingPage() {
  return (
    <Onboarding18
      badge={{ label: "Notifications", variant: "secondary" }}
      heading="Stay in the loop"
      description="Choose which notifications you'd like to receive."
      groups={[
        {
          title: "Activity",
          options: [
            { id: "mentions", title: "Mentions & replies", description: "When someone mentions you", defaultEnabled: true },
            { id: "comments", title: "New comments", description: "When someone comments on your work", defaultEnabled: false },
          ],
        },
        {
          title: "Updates",
          options: [
            { id: "product", title: "Product updates", description: "New features and changelog", defaultEnabled: true },
          ],
        },
      ]}
      primaryButton={{ label: "Save & Continue", href: "/onboarding/finish" }}
      secondaryButton={{ label: "Skip for now", href: "/dashboard" }}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }Small badge above the heading
headingstringMain headline
descriptionstringSupporting copy below the heading
groupsNotificationGroup[][]Categorized groups of notification toggles
primaryButton{ label: string; href: string }Primary CTA link
secondaryButton{ label: string; href: string }Secondary CTA link
labels{ stepOf?: string; enabledCount?: string }Template strings for the step counter and enabled-count summary
currentStepnumber1Current step number, used only to fill the step-of label
totalStepsnumber4Total step count, used only to fill the step-of label
classNamestringExtra classes for the outer <section>
ts
type NotificationOption = {
  id: string;
  title: string;
  description: string;
  defaultEnabled?: boolean;
};

type NotificationGroup = { title: string; options: NotificationOption[] };

Behavior notes

More Onboarding blocks

View all Onboarding
FREE

onboarding3

Minimal Welcome with Icon

Clean, centered welcome screen with a branded icon, heading, and single call-to-action. Perfect for simple app introductions that prioritize clarity over complexity.

PRO

onboarding30

Feature Tour Carousel

Onboarding screen with navigable feature highlight cards, dot indicators, and back/next buttons. Perfect for introducing key platform features during the first-time user experience.

PRO

onboarding27

Attribution Survey

Onboarding screen with a quick survey asking how the user discovered the product, with selectable options and an optional text input. Perfect for marketing attribution during signup.

PRO

onboarding25

Theme and Appearance Picker

Onboarding screen for choosing theme mode (light, dark, system) and accent color. Perfect for apps that offer visual customization as part of the onboarding experience.

PRO

onboarding24

Keyboard Shortcuts Cheat Sheet

Onboarding screen displaying essential keyboard shortcuts in a grouped grid layout with key badges. Perfect for productivity tools that want to accelerate user adoption.

FREE

onboarding1

Welcome Hero with Step Indicator

Centered welcome screen featuring a hero image, step counter, and dual CTAs. Perfect for app onboarding flows that guide users through a multi-step setup process.