Files
shadcn-ui/apps/v4/examples/base/input-badge.tsx
shadcn 7d718ddaa9 fix: refactor styles (#10190)
* feat: refactor styles handling across v4

* fix

* fix

* fix

* fix

* fix

* fix
2026-03-26 14:36:00 +04:00

22 lines
536 B
TypeScript

import { Badge } from "@/styles/base-nova/ui/badge"
import { Field, FieldLabel } from "@/styles/base-nova/ui/field"
import { Input } from "@/styles/base-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>
)
}