# Application Admin and Moderation: IP Blocklist Manager

Split blocklist manager pairing an add rule form with scope and duration choices beside ruled entries showing CIDR chips, hit counts, and expiry.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/ip-blocklist-manager
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Admin and Moderation](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/ip-blocklist-manager.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-admin-moderation-ip-blocklist-manager
```

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: avatars, badge, button, input, label, textarea
- Installs to: `@/components/blocks/application-pro/admin-moderation/ip-blocklist-manager`

## About this block

IP Blocklist Manager is the network enforcement surface
for an admin area, a split layout with an add rule form
beside a ruled list of 5 active blocks. The form card
carries a monospace address input, segmented scope and
duration choices rendered as pressed buttons, and a
reason field that notes it is recorded in the audit log
next to your name. Each list entry shows its CIDR range
as a monospace chip, a scope badge, the reason, requests
blocked in the last 24 hours, expiry, and the admin who
added it with an avatar.

The header total sums the blocked counts so the headline
tracks the rows, and the scope union drives a lookup
record for the badge labels. Permanent and timed rules
sit in the same list to prove both states, and the footer
sets the safety contract: timed rules purge automatically
at expiry, and blocking a range wider than /16 requires a
second admin to approve within 15 minutes or the rule
rolls back.

## When to use

Reach for this block on the security or abuse settings
page of an admin area, wired to your edge blocklist and
its request counters. Keep the two admin approval rule
from the footer next to the form so an operator sees the
blast radius limit before they submit a wide range.

A natural flow around it on an Application Pro page:

**Before**

- [App shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)
- [Settings pages](https://www.shadcn-ui-blocks.com/blocks/application-pro/settings-pages)

**After**

- [Audit search panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation)
- [Status and health](https://www.shadcn-ui-blocks.com/blocks/application-pro/status-health)

## What you can display

One strong use is the abuse prevention network console.
Other blocklist configurations:

- **Allowlist manager.** The same layout inverted to
  approve ranges, with blocked counts reading as allowed
  requests.
- **Domain blocklist.** Email or referrer domains in place
  of CIDR ranges for signup abuse.
- **API key revocation.** Compromised keys as the list,
  scope choices selecting which endpoints they lose.

> Tip: keep the blocked request count on every row; a
> quiet rule with near zero hits is a candidate to retire,
> and a rule blocking thousands justifies itself without a
> meeting.

## More in Application Admin and Moderation

- [Audit Search Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/audit-search-panel)
- [Automation Rules Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/automation-rules-panel)
- [Ban Appeal Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/ban-appeal-panel)
- [Bulk Review Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/bulk-review-table)
- [Content Flags Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/content-flags-table)
- [Escalation Path Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/escalation-path-panel)
- [Feature Toggle Admin](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/feature-toggle-admin)
- [Keyword Filter Manager](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/keyword-filter-manager)
- [Moderation Queue](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/moderation-queue)
- [Moderator Performance Board](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/moderator-performance-board)
- [Queue Health Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/queue-health-panel)
- [Report Review Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/report-review-card)
- [Role Permissions Matrix](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/role-permissions-matrix)
- [User Admin Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/user-admin-table)
- [User Risk Profile](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/user-risk-profile)
- [Violation Trends Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/admin-moderation/violation-trends-panel)
