Velvet Thunder

Link

Requires the use of ember-link.

Variants

Sizes

<DemoSpaceX>
  <VelvetLink @size="xs" @to="/docs/components/link">
    Link
  </VelvetLink>
  <VelvetLink @size="sm" @to="/docs/components/link">
    Link
  </VelvetLink>
  <VelvetLink @size="md" @to="/docs/components/link">
    Link
  </VelvetLink>
  <VelvetLink @size="lg" @to="/docs/components/link">
    Link
  </VelvetLink>
</DemoSpaceX>

Pill

<DemoSpaceX>
  <VelvetLink @isPill={{true}} @to="/docs/components/link" @variant="primary">
    Link
  </VelvetLink>
  <VelvetLink @isPill={{true}} @to="/docs/components/link" @variant="secondary">
    Link
  </VelvetLink>
  <VelvetLink @isPill={{true}} @to="/docs/components/link" @variant="ghost">
    Link
  </VelvetLink>
</DemoSpaceX>

Examples

Signature

Element

HTMLAnchorElement

Blocks

NameDescriptionType
:default *The content of the link.[]
Blocks marked with * are required.

Arguments

NameDescriptionTypeDefault Value
@isPillIndicate if the link is pill shaped.booleanfalse
@sizeThe size of the link.'xs' | 'sm' | 'md' | 'lg'"md"
@to *A valid route path or a custom `ember-link` `Link` instance.string | Linkundefined
@variantThe appearance of the link.string | 'primary'"primary"
Arguments marked with * are required.
Input
Progress