Theme Playground

Storefront

LinkBlockSmall

Compact image-led category tile for sub-navigation, seasonal edits, and small promotional grids.

Best for

category tilesseasonal editspromotional grids

Import

import { LinkBlockSmall } from "@enadhq/enad-react-sdk/client/storefront"

When to use it

Use LinkBlockSmall for compact category tiles in navigation grids, seasonal edits, and small promotional strips. It is the simpler sibling of LinkBlock: just an image, a title overlay, and a link destination.

For larger promotional blocks with eyebrow text, CTAs, and variant styles, use LinkBlock instead.

Composition notes

LinkBlockSmall is minimal and prop-driven:

  • image is the background image shown behind the title overlay.
  • title renders as overlay text at the bottom of the tile.
  • href makes the entire tile a clickable link.
  • className adds width or grid-specific classes.

The component does not have variants or layout options. It is intentionally simple so it works consistently in grids without per-tile configuration.

Behavior and theming guidance

The tile uses an overlay gradient (controlled by --enad-overlay-color and opacity tokens) to keep the title readable over varied image content. Border radius follows --enad-card-radius.

Use CSS grid on the parent container to control the tile layout. The component does not impose a grid itself, so you choose the column count and gap based on the section needs. A 2-column mobile / 4-column desktop grid is the standard pattern.

Examples

Live examples you can edit directly in the sandbox.

2 examples

Four-tile category grid

A compact grid of category tiles. Use alongside a section heading or inside a Gallery wrapper for category navigation strips.

Single promo tile

A single tile at a constrained width. Works as a sidebar promo or a standalone seasonal teaser.

Slots

linktitleimagerootoverlay

Component Sets

Preview the first example across the available component-set presets to compare tone, spacing, and structural defaults.

Props

PropTypeDefaultDescription
imagestring
Background image for the small link block
titlestring
Label overlaid on the image at the bottom
hrefstring
URL the block navigates to
classNamesPartial<Record<import("@enadhq/enad-react-sdk/client/storefront/types").LinkBlockSmallSlot, string>>
No description yet.
Slot keys
linktitleimagerootoverlay
classNamestring
No description yet.