mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-29 23:55:02 +00:00
23 lines
551 B
TypeScript
23 lines
551 B
TypeScript
import { SearchIcon } from "lucide-react"
|
|
|
|
import {
|
|
InputGroup,
|
|
InputGroupAddon,
|
|
InputGroupInput,
|
|
} from "@/styles/base-nova/ui/input-group"
|
|
import { Kbd } from "@/styles/base-nova/ui/kbd"
|
|
|
|
export function InputGroupKbd() {
|
|
return (
|
|
<InputGroup className="max-w-sm">
|
|
<InputGroupInput placeholder="Search..." />
|
|
<InputGroupAddon>
|
|
<SearchIcon className="text-muted-foreground" />
|
|
</InputGroupAddon>
|
|
<InputGroupAddon align="inline-end">
|
|
<Kbd>⌘K</Kbd>
|
|
</InputGroupAddon>
|
|
</InputGroup>
|
|
)
|
|
}
|