Crawler Access
ProNewWhich AI crawlers a site lets in: a switch per crawler, a count, and the robots.txt rules that match the switches, written out and ready to copy.
Installation
pnpm dlx shadcn@latest add @viewport/crawler-access
First time? Add the @viewport registry to components.json. Setup takes one minute.
Usage
The code behind the preview above comes with Truffle Pro.
Props
| Prop | Type | Default |
|---|---|---|
| crawlers* | Crawler[] | — |
| onCrawlersChange | (crawlers: Crawler[]) => voidCalled with the full list when a crawler is switched. Leave it out to show the list read-only. | — |
| className | string | — |
Accessibility
- Each switch is named with its crawler; allowed and blocked are written out.
- The count and the copy confirmation are announced.
- The rules are focusable and scroll from the keyboard.
- Respects prefers-reduced-motion.