Identifies Admin users and tracks sign-in flows in PostHog
Slug Field
Slug field that fills itself from another field, with optional Auto/Manual mode
Installation
pnpm add @klnap/payload-slug About
Slug Field gives Payload collections a URL slug that fills itself from another field, such as a title. While the slug is empty, it follows the source field as the editor types in the admin, and the server generates one on save when it is missing. A slug the editor types by hand is left alone after that.
An optional Auto/Manual switch lets editors choose whether the slug keeps following the source on every save or stays fixed. Submitted slugs are cleaned into lowercase, hyphen-separated text, and input that cleans to nothing is rejected. A custom cleanup rule can be supplied for scripts the default drops, such as Chinese or Japanese.
Package info
- Package name
@klnap/payload-slug- Latest version
0.2.9- Unpacked size
- 108 kB
- License
- MIT
- Weekly downloads
- 861
- Last publish
- Nov 28, 2026
More from klnap
View profileUses prefixed UUIDv7 TypeIDs as native Payload document IDs per collection
Creates redirect rules automatically when published URLs change
Event-driven Next.js cache invalidation triggered by Payload content changes
Stores Payload media in Sanity with on-demand image transforms and CDN delivery
Similar plugins
More in FieldsLets admins define record types and fields at runtime without schema changes
Shared field definitions that generate Payload fields and matching validation schemas
Persian field types for slugs, Jalali dates, money and Iranian identity numbers
Adds Persian admin defaults, logging, slug generation and audit logs to Payload
Icon picker field that stores the icon name and SVG markup
Toolbar-based visual editor field that stores HTML strings