Community Wolf
Community
APIAboutContact
Book a demo

Community Wolf

Real-time safety intelligence for citizens and the teams who protect them.

Community Tools

  • Public map
  • Namola
  • WhatsApp

Business Tools

  • Access Control
  • Intelligence
  • Safety API
  • Group Agents
  • Patrol Management
  • Roster Management
  • Safety Survey
  • Pricing
  • Pricing calculator

Resources

  • Docs
  • Changelog
  • Design system

Company

  • Community
  • Business
  • API
  • About
  • Contact

Get pilot updates

New features, city launches, and integration partnerships - delivered monthly.

Subscribe to updates

(c) 2026 Community Wolf. All rights reserved.

Privacy PolicyTerms of Service
Wolf design system
Foundations
  • Brand
  • Voice and tone
  • Colour
  • Typography
  • Spacing and layout
  • Radius, elevation and borders
  • Motion
  • Iconography
  • Imagery and photography
  • Data visualisation
  • Accessibility
Patterns
  • App shell
  • Hero sections
  • Empty states
  • Error states
  • Skeletons and loading
  • Forms
  • Tables and data density
  • Confirmation and destructive actions
  • Authentication surfaces
Components
  • Button
  • Input
  • Card
  • Badge
  • Dialog
  • Label
  • Textarea
  • Select
  • Checkbox
  • Radio group
  • Switch
  • Form field
  • Tabs
  • Popover
  • Tooltip
  • Accordion
  • Alert dialog
  • Confirm dialog
  • Toast (Sonner)
  • Skeleton
  • Empty state

components

Confirm dialog

The confirmation contract in one prop — `destructive`. Past that, name the action like a verb (`Delete report`, `Remove James`) and explain the consequences in one sentence.

Read the full spec

Destructive

The canonical destructive flow — red confirm button, the async `onConfirm` keeps the dialog open until it resolves.

tsx
const [open, setOpen] = useState(false);

<Button variant="destructive" onClick={() => setOpen(true)}>
  Delete report
</Button>

<ConfirmDialog
  open={open}
  onOpenChange={setOpen}
  title="Delete this report?"
  description="The report will be removed from the feed. This can't be undone."
  confirmLabel="Delete report"
  destructive
  onConfirm={async () => { await deleteReport(id); }}
/>

Non-destructive

Drop `destructive` to get the default (brand-green) confirm button. Good for publishing, sending, locking in state.

Async with loading state

`onConfirm` can return a Promise. The dialog stays open and the confirm label gets an ellipsis while the promise settles.

Previous — ComponentsAlert dialog
Next — ComponentsToast (Sonner)