# YoutubeChannelButton — SvelteKit UI

Package: sveltekit-ui 1.1.94

Page: https://www.sveltekit-ui.com/components/youtube_channel_button

Category: Media

A button linking to a Youtube Channel with a customizable size and handle.

Public component import: `YoutubeChannelButton`

## Usage

```svelte
<script>
  // Import the shared stylesheet once in your application's root layout.
  import "sveltekit-ui/style.css"
  import { YoutubeChannelButton } from "sveltekit-ui"
</script>

<YoutubeChannelButton url="https://www.youtube.com/@sveltejs" size={3} />
```

## Properties

### `url`

- type: string
- required: true
- description: The url to link to.

### `size`

- type: number
- default: 4
- description: The size of the button, which scales its height, font, and padding.
