spine

extended html for hawk.

a set of pre-built web components.

spine extends the language of html to make it more capable and more aware of urbit constructs.


hawk-sidebar

a collapse-able sidebar.

slots:

  • side

  • (default)

attributes:

  • open: boolean

  • side: string

  • label: string

  • size: number

  • min: number

  • max: number


hawk-tabs

one tab per child. only one child is shown at a time.

slots:

  • (default)

attributes:

  • open: string, corresponds to the data-tab attribute of the direct child that is open.

;hawk-tabs(open "output")
  ;div(data-tab "input"): the input
  ;div(data-tab "footnotes"): the footnotes
  ;div(data-tab "output"): the output
==

coming soon

  • hawk-tooltip

  • hawk-accordion

  • hawk-code-editor

  • hawk-rich-editor

  • hawk-search-select

  • hawk-tabs