# Application Notification: Push Preview Settings

Push appearance settings beside a live lock screen mockup, three preview visibility options, sound and grouping switches, and a test push action.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/push-preview-settings
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Notifications](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/push-preview-settings.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-notifications-push-preview-settings
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button, switch
- Installs to: `@/components/blocks/application-pro/notifications/push-preview-settings`

## About this block

Push Preview Settings pairs a control panel with a live lock
screen mockup. Three preview visibility options (Always, When
unlocked, Never) sit above the play sound and group by app
switches and a send test push action, while the phone rendering
reacts to every control, masking message bodies, collapsing
grouped alerts into one stack, and flagging silent mode.

Preview modes and sample pushes are plain arrays, and the mockup
reads the current state directly. Showing the result beside the
setting is what makes an abstract privacy choice concrete: the
user sees exactly what a stranger glancing at the screen would.

## When to use

Reach for this block on the notifications or privacy tab of user
settings, wired to your push service and per device preferences.
The lock screen here is a preview, not the real system UI, so
label it clearly and keep the platform behavior authoritative.

A natural flow around it on an Application Pro page:

**Before**

- [Notification settings inline](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications)

**After**

- [Quiet hours schedule](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications)

## What you can display

One strong use is the lock screen preview control. Other push
panels:

- **Per app previews.** A visibility choice per workspace rather
  than one global setting.
- **Banner style.** Temporary versus persistent banners shown in
  the same live mockup.
- **Watch mirror.** The preview rendered as a wearable card for
  companion apps.

> Tip: let the mockup react instantly to every toggle; a preview
> that lags behind the control teaches users to distrust it.

## More in Application Notifications

- [Activity Digest Email Preview](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/activity-digest-email-preview)
- [Alert Banner Stack](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/alert-banner-stack)
- [Banner With Actions](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/banner-with-actions)
- [Digest Settings Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/digest-settings-card)
- [Escalation Policy Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/escalation-policy-card)
- [In App Message Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/in-app-message-card)
- [Inbox List Pane](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/inbox-list-pane)
- [Mute Thread Row](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/mute-thread-row)
- [Notification Center Open](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/notification-center-open)
- [Notification Empty State](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/notification-empty-state)
- [Notification Grouping List](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/notification-grouping-list)
- [Notification Rules List](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/notification-rules-list)
- [Notification Settings Inline](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/notification-settings-inline)
- [Priority Inbox List](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/priority-inbox-list)
- [Quiet Hours Schedule](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/quiet-hours-schedule)
- [Realtime Toast Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/realtime-toast-blueprint)
- [Snooze Options Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/snooze-options-blueprint)
- [Subscription Preferences](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/subscription-preferences)
- [Toast Stack](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/toast-stack)
- [Unread Digest Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/unread-digest-card)
- [Whats New Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications/whats-new-panel)
