mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-25 05:35:48 +00:00
27 lines
689 B
TypeScript
27 lines
689 B
TypeScript
import { InfoIcon } from "lucide-react"
|
|
|
|
import { Field, FieldLabel } from "@/styles/base-nova/ui/field"
|
|
import {
|
|
InputGroup,
|
|
InputGroupAddon,
|
|
InputGroupInput,
|
|
InputGroupText,
|
|
} from "@/styles/base-nova/ui/input-group"
|
|
|
|
export function InputInputGroup() {
|
|
return (
|
|
<Field>
|
|
<FieldLabel htmlFor="input-group-url">Website URL</FieldLabel>
|
|
<InputGroup>
|
|
<InputGroupInput id="input-group-url" placeholder="example.com" />
|
|
<InputGroupAddon>
|
|
<InputGroupText>https://</InputGroupText>
|
|
</InputGroupAddon>
|
|
<InputGroupAddon align="inline-end">
|
|
<InfoIcon />
|
|
</InputGroupAddon>
|
|
</InputGroup>
|
|
</Field>
|
|
)
|
|
}
|