/seedling-component-masthead

A sample seedling masthead component.

Primary LanguageHTMLMIT LicenseMIT

seedling-component-masthead

A sample of how to share components with seedling.

  1. Create a new file in /components with the name Hero.ts.
export default "https://raw.githubusercontent.com/use-seedling/seedling-component-masthead/master/index.html";
  1. Use with seedling component directive.
<:component use="Hero" />

or

<Hero />

Note - All remote components require the --allow-net command line parameter for Deno.

Special Thanks

This component is a sample from the truely excellent Tailwind UI. We sprinked some Alpine.js for interactivity.

https://tailwindui.com/components/marketing/sections/heroes https://github.com/alpinejs/alpine/