Appearance
@getcanary/web
TIP
For visual reference and code example, please refer to our Storybook.
Anything missing here?
This page is generated from custom-elements-manifest
.
If you find something missing here, there's three places to fix it:
CEM.vue
for rendering the data.- Each component's source code for adding the missing data.
vite.config.ts
for adding the missing component.
Or, you can open an issue.
canary-root
sourceImports
Slots
Default
Attributes
framework
Frameworkquery
string
canary-styles
sourceSlots
Default
Attributes
framework
Frameworktheme
ThemeContext
CSS Properties
--canary-color-primary-c
Chroma of primary color--canary-color-primary-h
Hue of primary color--canary-color-gray-c
Chroma of gray color--canary-color-gray-h
Hue of gray color--canary-color-backdrop-overlay
Color of backdrop overlay--canary-font-family-base
Font family of base--canary-font-family-mono
Font family of mono
canary-provider-mock
sourcecanary-provider-cloud
sourceAttributes
api-base
stringapi-key
stringproject-key
string
canary-provider-pagefind
sourceAttributes
options
Options
canary-provider-vitepress-minisearch
sourceAttributes
localeIndex
stringminiSearchOptions
any
canary-callout
sourceAttributes
forceShow
booleankeywords
string[]url
stringmessage
string
canary-callout-cal
sourceImports
Attributes
forceShow
booleankeywords
string[]url
stringmessage
string
canary-callout-calendly
sourceImports
Attributes
forceShow
booleankeywords
string[]url
stringmessage
string
canary-callout-slack
sourceImports
Attributes
forceShow
booleankeywords
string[]url
stringmessage
string
canary-callout-discord
sourceImports
Attributes
forceShow
booleankeywords
string[]url
stringmessage
string
canary-logo-cal
sourcecanary-logo-calendly
sourcecanary-logo-discord
sourcecanary-logo-github
sourcecanary-logo-slack
sourcecanary-modal
sourceImports
canary-content
sourceSlots
head
body
footer
CSS Properties
--canary-content-max-width
Max width
CSS Parts
container
canary-trigger-searchbar
sourceImports
Attributes
shortcut
TriggerShortcut
CSS Properties
--canary-trigger-searchbar-max-width
Max width--canary-trigger-searchbar-height
Height
CSS Parts
button
icon
text
kbd
canary-trigger-logo
sourceImports
Attributes
text
string
canary-input
sourceImports
Slots
before
action-search
action-ask
loading
Attributes
autofocus
booleanplaceholder
string
CSS Parts
container
input
canary-search
sourceSlots
head
body
CSS Parts
container
canary-search-results
sourceImports
CSS Parts
container
match-group
match-item
canary-search-match
sourceImports
Attributes
match
SearchResult
CSS Parts
match-group
match-item
canary-search-match-base
sourceImports
Slots
content-before
url
title-icon
title
title-badge
excerpt
sub-results
Attributes
url
string
CSS Parts
container
canary-search-match-webpage
sourceImports
Attributes
match
SearchResult
canary-search-match-openapi
sourceImports
Attributes
match
SearchResult
canary-search-match-github-issue
sourceImports
- canary-search-match-base
- canary-icon-tree
- canary-badge
- canary-snippet-title
- canary-snippet-excerpt
- canary-modal
Attributes
match
SearchResult
canary-search-match-github-discussion
sourceImports
- canary-search-match-base
- canary-icon-tree
- canary-badge
- canary-snippet-title
- canary-snippet-excerpt
- canary-modal
Attributes
match
SearchResult
canary-search-suggestions
sourcecanary-search-empty
sourcecanary-ask
sourceImports
Slots
body
CSS Parts
container
canary-ask-results
sourceImports
canary-tooltip
sourceSlots
Default
Attributes
text
stringplacement
Placement
canary-footer
sourcecanary-media-query
sourceAttributes
query
string
canary-mode-tabs
sourcecanary-mode-breadcrumb
sourceAttributes
text
string
canary-filter-tabs-glob
sourceAttributes
tabs
TabDefinitions
CSS Parts
container
tab
active
inactive
canary-filter-tags
sourceAttributes
tags
string[]url-sync
TagUrlSyncDefinition | undefinedlocal-storage-key
string | undefined