Section
Titled block with giant skewed word
A titled region of a page — News, Staff, Story — in the system's voice: a small upright label or a hanging headline, and optionally the giant faint word behind it. Use one per top-level part of a page; for a titled box inside a section, Panel.
News
2019.04.04 NEW! Blu-ray Disc BOX 発売決定
watermark defaults to the title, top-right
スタッフ・キャスト
原作 丸戸史明
Character登場人物
サークルってさ、辛いことも、
悲しいこともあるけど……
それでも、これからも続けるよ
加藤 恵
Megumi Kato
Two headline voices. label (default) is the TV site: a small bold uppercase title with the pale skewed watermark behind. headline="hanging" is the film site: one big tracked title hung off the bottom edge of the #band slot — a key visual, a colour, anything 200px tall — with subtitle in tracked muted type under it. Without a band the hanging title simply sits in flow; the watermark is off in this mode.
Usage
import { BlessSection, BlessWatermark } from "blessing-ui";API
BlessSection
Props
| Name | Type | Default | Description |
|---|---|---|---|
title | string | — | |
watermark | string | — | watermark text; defaults to title. Pass "" to hide |
watermarkPosition | "top-right" | "top-left" | "bottom-right" | "bottom-left" | — | |
headingLevel | 1 | 2 | 3 | 4 | 2 | |
headline | "label" | "hanging" | "label" | `label` (default): small bold uppercase title + pale skewed watermark — the TV site. `hanging`: one big tracked title hung off the bottom edge of the `#band` slot, with `subtitle` under it — the film site. No watermark. |
subtitle | string | — | small tracked line under a hanging headline (e.g. the Japanese reading) |
Slots
| Name | Scope | Description |
|---|---|---|
band | — | |
title | — | |
default | — |
BlessWatermark
Props
| Name | Type | Default | Description |
|---|---|---|---|
text* | string | — | |
position | "top-right" | "top-left" | "bottom-right" | "bottom-left" | "top-right" |