Domain Rating
by Ahrefs
Domain Rating by Ahrefs2
Description
Knock is a set of copy-paste React components for private previews, meaning work you are not ready to make public. It covers access screens such as a quick gate with one field for staging and internal links, a code field for digit or passphrase entry that accepts a code pasted from an email, a cooldown notice during retries, and an expired-invitation notice. It also has draft chrome, such as a ribbon and bar around work that has been unlocked, for keeping draft labels, build names and feedback next to the work under review. The library has nine blocks and ten components, 19 items in all, and includes a headless useKnockCodes hook for building your own screens. It is built with React and Tailwind, and it installs with the shadcn CLI, so the source lives in your project to restyle and brand. The site is clear that Knock handles only the interface: your application must verify codes and decide who gets in. It is MIT licensed, and its source is on GitHub.…
Highlights
- Access gate, code entry and expired-invitation screens
- Cooldown notice that never locks you out
- Draft ribbon and preview bar for work in review
- Headless useKnockCodes hook for custom screens
- Installs with the shadcn CLI, MIT licensed
Ratings & Reviews
No ratings yet
Be the first to rate knock-codes.
People also visit
knot-ui
A registry of animated, cinematic React components and UI blocks for shadcn
knock-codes FAQ
What is Knock?
Copy-paste React components for private previews, including access screens, code entry, invitations and draft labels.
Does Knock check codes or passwords?
No. The site says Knock provides the interface only. Your application verifies the codes and decides who can see the work.
How do I install it?
Install it with the shadcn CLI. The source lands in your project, so you can change the colours, copy and branding.
What is in the library?
Nine blocks and ten components, 19 items in total, plus a headless useKnockCodes hook for building custom screens.
What license is it under?
MIT. The source is on GitHub.
What are the best knock-codes alternatives?
Popular alternatives to knock-codes include hexui, knot-ui and intentui. See all knock-codes alternatives





