Well

A recessed Tailwind panel with a sunken background, hairline border and inner highlight. Use it to set apart notes, code output or secondary content.

src/registry/ui/well.tsx/r/well.json

Installation#

bash
npx shadcn@latest add @minidev/well

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/well.json

Usage#

tsx
import { Well } from "@/components/ui/well"

export function Example() {
  return (
    <Well>Sunken well for nested content.</Well>
  )
}

API reference#

Well props
PropTypeDefault
childrenReact.ReactNode-
classNamestring-

Examples#

All layout components