Skip to content
sveltekit-embed
Everything else

Guild

A Guild community card or its events.

import { Guild } from 'sveltekit-embed';
Svelte
1<Guild
2	type="guild"
3	card_id="svelte-society-london"
4	display_type="events/latest"
5/>

card_id is the slug from the Guild URL. type says what the slug belongs to, and display_type picks the view: a card, a single item, or a list of events or presentations.

A community card

Svelte
1<Guild card_id="svelte-society-london" />

Props

PropTypeDefault
card_id required

The slug of the guild, user, event or presentation.

string–
type

What card_id refers to.

'guild' | 'user' | 'event' | 'presentation''guild'
display_type

Which view of it to show.

'card' | 'item' | 'events/latest' | 'events/upcoming' | 'events/past' | 'presentations/latest' | 'presentations/upcoming' | 'presentations/other''card'
height

Any CSS height.

string'380px'
width

Any CSS width.

string'100%'
loading

lazy waits until the embed is near the viewport, eager loads it straight away.

'lazy' | 'eager''lazy'

Something wrong on this page? Edit it on GitHub.