input
pane/inputFreeComponent
pane publishes no description for this item.
Install it
npx shadcn@latest add https://pane.theui.company/r/input.jsonSource
1import type * as React from "react";2import { Pane } from "@/components/ui/pane";3import { cn } from "@/lib/utils";45function Input({ className, type, ...props }: React.ComponentProps<"input">) {6 return (7 <Pane8 variant="clear"9 radius={14}10 className="h-10 w-full focus-within:ring-2 focus-within:ring-[var(--pane-highlight)] focus-within:ring-offset-0 has-[:disabled]:opacity-50"11 >12 <input13 type={type}14 data-slot="input"15 className={cn(16 "flex h-10 w-full min-w-0 bg-transparent px-3.5 text-base outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",17 "file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium",18 className,19 )}20 {...props}21 />22 </Pane>23 );24}2526export { Input };
What it pulls in
Other registry items
Files it writes
More from pane
All 25 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| badgebadge | pane | Components | Free | 2 deps | |
| buttonbutton | pane | Components | Free | 2 deps | |
| cardcard | pane | Components | Free | no deps | |
| dialogdialog | pane | Components | Free | 2 deps | |
| panepane | pane | Components | Free | 1 dep | |
| sheetsheet | pane | Components | Free | 3 deps | |
| switchswitch | pane | Components | Free | 2 deps | |
| tabstabs | pane | Components | Free | 2 deps |
