Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/huntabyte/shadcn-svelte/llms.txt

Use this file to discover all available pages before exploring further.

Installation

npx shadcn-svelte@next add avatar

Usage

<script lang="ts">
  import * as Avatar from "$lib/components/ui/avatar/index.js";
</script>

<Avatar.Root>
  <Avatar.Image src="https://github.com/shadcn.png" alt="@shadcn" />
  <Avatar.Fallback>CN</Avatar.Fallback>
</Avatar.Root>

Build docs developers (and LLMs) love