snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
21
apps/v4/examples/radix/input-badge.tsx
Normal file
21
apps/v4/examples/radix/input-badge.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import { Badge } from "@/styles/radix-nova/ui/badge"
|
||||
import { Field, FieldLabel } from "@/styles/radix-nova/ui/field"
|
||||
import { Input } from "@/styles/radix-nova/ui/input"
|
||||
|
||||
export function InputBadge() {
|
||||
return (
|
||||
<Field>
|
||||
<FieldLabel htmlFor="input-badge">
|
||||
Webhook URL{" "}
|
||||
<Badge variant="secondary" className="ml-auto">
|
||||
Beta
|
||||
</Badge>
|
||||
</FieldLabel>
|
||||
<Input
|
||||
id="input-badge"
|
||||
type="url"
|
||||
placeholder="https://api.example.com/webhook"
|
||||
/>
|
||||
</Field>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user