Component Reference
The <LilyPond> component, imported from astro-lilypond/component, accepts the following props.
content
Section titled “content”Type: LilypondContent
Required: yes
The result of an imported .ly or .ily file. The output is resolved at build time according to the defaults configured in your integration.
pageLimit
Section titled “pageLimit”Type: number
Render only the first n pages of content. If omitted, all pages render. See limiting rendered pages.
Type: string
Class name(s) applied to the rendered <img> (or <ol>, for multi-page scores). See the styling guide.
Type: string
Inline styles applied directly to the rendered element.
Type: string
Overrides the automatically-derived alt text. Takes precedence over any title/composer found in the .ly file’s \header block. See also: alt text.