Guild
A Guild community card or its events.
import { Guild } from 'sveltekit-embed'; 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
1<Guild card_id="svelte-society-london" />Props
| Prop | Type | Default |
|---|---|---|
card_id required The slug of the guild, user, event or presentation. | string | – |
type What | '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' | 'eager' | 'lazy' |
Something wrong on this page? Edit it on GitHub.