# BlogMasthead

> A blog's masthead as composable parts: a mark beside the title and tagline, and an art band such as a drawn header image.

```ts
import { BlogMasthead } from "@sdxc/ui/blog";
```

Renders the masthead as a `<header>` laying out the parts it is given: a
BlogMasthead.Mark in a column of its own beside the title and tagline, which stack
in the order written, and a BlogMasthead.Art band across the full width wherever it
is written. A part left out leaves no gap.

## Examples

```tsx
<BlogMasthead>
	<BlogMasthead.Title>
		<BlogMasthead.TitleLink href="/">Field Notes</BlogMasthead.TitleLink>
	</BlogMasthead.Title>
	<BlogMasthead.Tagline>Small fixes, written down.</BlogMasthead.Tagline>
</BlogMasthead>
```

## Props

Also accepts everything in `TagProps<"header">`.


### BlogMasthead.Mark

The blog's logo or glyph, in the brand colour; an SVG inside is drawn 2.75rem square.

Also accepts everything in `TagProps<"span">`.


### BlogMasthead.Title

The blog's name as a large paragraph, so each page keeps its own title as the one `h1`.

Also accepts everything in `TagProps<"p">`.


### BlogMasthead.TitleLink

The title's link home, in the emphasis colour and the brand colour under the pointer.

Takes no props of its own.

### BlogMasthead.Tagline

One line under the title saying what the blog is about, in the muted colour.

Also accepts everything in `TagProps<"p">`.


### BlogMasthead.Art

A band across the masthead's full width, such as a drawn header image, clipped to rounded corners and spaced 1.25rem from the title block.

Also accepts everything in `TagProps<"div">`.

