Blocks

PreviousNext

Pre-built application blocks for authentication, forms, dialogs and more.

Blocks are larger, more complex components that combine multiple primitives to create complete features.

Available Blocks

Authentication

Better Auth Sign In

Complete sign-in page with email/password, OTP, and OAuth provider support using Better Auth.

Better Auth Sign Up

Complete sign-up form component with email and password authentication.

Better Auth OTP

Component for signing in with email OTP (One-Time Password).

Notifications

Server Toast

Library for server-side toast notifications that work with server actions.

Dialogs

Dialog Manager

Powerful dialog manager for handling confirm, input, and custom dialogs with global state management.

Forms

Form Management

Comprehensive form management system with auto-save, unsaved changes warning, and sticky action bar.

Installation

All blocks can be installed using the shadcn CLI:

pnpm dlx shadcn@latest add https://ui.nowts.app/r/<block-name>.json

For example:

pnpm dlx shadcn@latest add https://ui.nowts.app/r/dialog-manager.json