Files
upstream-shadcn-ui/apps/v4/registry/bases/base/blocks/preview-02/cards/social-links.tsx
upstream-mirror 1416db152c
All checks were successful
Release / Create Version PR or Publish Stable Release (push) Has been skipped
Release / Publish Prerelease to NPM (push) Has been skipped
Monitor Registries / Monitor registry health (push) Has been skipped
snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
2026-09-15 22:44:43 +05:00

108 lines
3.4 KiB
TypeScript

import { Button } from "@/registry/bases/base/ui/button"
import {
Card,
CardContent,
CardFooter,
CardHeader,
CardTitle,
} from "@/registry/bases/base/ui/card"
import { Field, FieldGroup, FieldLabel } from "@/registry/bases/base/ui/field"
import {
InputGroup,
InputGroupAddon,
InputGroupInput,
} from "@/registry/bases/base/ui/input-group"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"
export function SocialLinks() {
return (
<Card>
<CardHeader>
<CardTitle>Social Links</CardTitle>
</CardHeader>
<CardContent>
<FieldGroup>
<Field>
<FieldLabel htmlFor="spotify-url">Spotify Artist URL</FieldLabel>
<InputGroup>
<InputGroupAddon>
<IconPlaceholder
lucide="CirclePlusIcon"
tabler="IconCirclePlus"
hugeicons="PlusSignCircleIcon"
phosphor="PlusCircleIcon"
remixicon="RiAddCircleLine"
/>
</InputGroupAddon>
<InputGroupInput
id="spotify-url"
defaultValue="spotify.com/artist/3j...2k"
/>
</InputGroup>
</Field>
<Field>
<FieldLabel htmlFor="instagram-handle">Instagram Handle</FieldLabel>
<InputGroup>
<InputGroupAddon>
<IconPlaceholder
lucide="CameraIcon"
tabler="IconCamera"
hugeicons="Camera01Icon"
phosphor="CameraIcon"
remixicon="RiCameraLine"
/>
</InputGroupAddon>
<InputGroupInput
id="instagram-handle"
defaultValue="@julianduryea_music"
/>
</InputGroup>
</Field>
<Field>
<FieldLabel htmlFor="soundcloud-url">SoundCloud URL</FieldLabel>
<InputGroup>
<InputGroupAddon>
<IconPlaceholder
lucide="CloudIcon"
tabler="IconCloud"
hugeicons="CloudUploadIcon"
phosphor="CloudIcon"
remixicon="RiCloudLine"
/>
</InputGroupAddon>
<InputGroupInput
id="soundcloud-url"
placeholder="soundcloud.com/username"
/>
</InputGroup>
</Field>
<Field>
<FieldLabel htmlFor="website-url">Website</FieldLabel>
<InputGroup>
<InputGroupAddon>
<IconPlaceholder
lucide="GlobeIcon"
tabler="IconWorld"
hugeicons="Globe02Icon"
phosphor="GlobeIcon"
remixicon="RiGlobalLine"
/>
</InputGroupAddon>
<InputGroupInput
id="website-url"
placeholder="https://yoursite.com"
/>
</InputGroup>
</Field>
</FieldGroup>
</CardContent>
<CardFooter className="justify-end gap-2 style-sera:justify-center">
<Button variant="secondary" className="style-sera:flex-1">
Discard
</Button>
<Button className="style-sera:flex-1">Save Changes</Button>
</CardFooter>
</Card>
)
}