ImageField
- from @ouro
A field for one photo, shown large: the photo already saved (`src`) or the one just chosen, with Choose photo (Change photo once one shows) and Remove.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @ouro/image-fieldComponent source
No live preview has been built for this component yet.
Registry dependencies8
- @ouro/button
- @ouro/file-field
- @ouro/image-cropper
- @ouro/lib-class-name-check
- @ouro/lib-cn
- @ouro/lib-env
- @ouro/lib-use-dev-messages
- @ouro/lib-use-field
Packages0
No npm packages are installed with it.