Stage 15 · Component

Castle mark

The surname as a badge, with a gate that lifts.

Live

Hover the badge to drop the gate.

Reasoning

Why it exists

Castillo means castle. The mark is a small tower that stands in for the name where the wordmark does not fit, like a head badge on a frame.

The gate

The portcullis lifts once when the page loads and drops again while you hover the element that hosts the mark. It is the only place where the brand moves, and it holds still under reduced motion.

Leave it out when

It would appear twice on a page with the same id. Pass a different id to each extra copy so the clip path stays unique.

Props

PropTypeWhat it does
idstringId of the gate clip path. Change it when the mark renders more than once.

Sourcepackages/ui/src/components/CastleMark.astro