Settings Pro 1: notification preferences matrixPRO
A table of events by channel with switches, turn-all-on/off per channel, a digest choice, quiet hours and a save bar that appears when something changed.
Installation
Once per project: add the Pro registry and your licence key.
components.json{ "registries": { "@ballmac": "https://ui.ballmac.com/r/{name}.json", "@ballmac-pro": { "url": "https://ui.ballmac.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${BALLMAC_LICENSE_KEY}" } } } }.env.localBALLMAC_LICENSE_KEY=your-licence-keyAdd it.
$ pnpm dlx shadcn@latest add @ballmac-pro/settings-pro-1Need a licence or help with setup?
Usage
import { SettingsPro1 } from "@/components/ballmac/blocks/settings-pro-1/settings-pro-1"Dependencies
- npm
- lucide-react
Use with AI
Dirty-state aware settings form; onSave may be async and its errors are shown. Every switch has a full accessible name (event by channel). With the shadcn MCP server set up (guide), ask your agent:
Add the Ballmac UI Settings Pro 1: notification preferences matrix (@ballmac-pro/settings-pro-1) to this project with the shadcn MCP, then use it where it fits.
Use it for
- Apps with several notification channels
Not for
- Single on/off settings
Registry JSON (needs your licence key): https://ui.ballmac.com/r/pro/settings-pro-1.json
Covered by the Ballmac UI Pro license.
More settings blocks
Settings 1: profile and account
An account settings page: profile with username availability, sign-in details with a change-password dialog, language, time zone and appearance, a type-to-confirm delete, and a sticky save bar that appears only when something changed.
Settings 2: notification preferences
Notification settings that save as you go: digest frequency as radio cards, a grid of switches for each event and channel (cards on phones), and quiet hours with times and weekdays.
Settings 3: team members and roles
Team management: a seats meter, an invite form with role, role filters and search, a member list with role selects, pending invitations and a confirm-before-remove dialog. Stacks cleanly on phones.
Settings Pro 2: security: two-step, sessions and tokens
Turn on two-step sign-in with a code check, sign out other devices with a confirmation, and create, reveal, copy and revoke API tokens.