Skip to content

Shape

Free

Cut the edges or corners of any box: zigzag, scallop, wave, notch, and ticket bites. A mask, so the box keeps its fill and shadow.

Tailwind CSS 4MIT + Commons Clause · 1 CSS file · 0 KB JavaScript
Gelatin UIOrder #4821 · Nov 15, 2026
Pro, lifetime$149.00
Team seats × 2$98.00
Total$247.00
LightDark
ZigzagScallopWaveNotchBite
BottomBothAll
234
shape-zigzag shape-b shape-size-3

Install

Add the utility's CSS with the CLI, your coding agent, or by hand. It has no JavaScript.

Usage

Put one shape class on the element. Pick sides or corners, and set the size of the cut with shape-size-<n>. The mask also clips the border, ring, and shadow.

order-receipt.tsx

Shapes

Five edges, three corners, and two bites. Use one shape per element.

Edges

  • shape-zigzagReceipts and tear-off edges.
  • shape-scallopStamps, coupons, labels.
  • shape-waveSoft section edges.
  • shape-perforatedTickets you tear.
  • shape-crenellatedGame and toy cards.

Corners and bites

  • shape-notchCut corners, tech tags.
  • shape-scoopInner round corners.
  • shape-squircleApp icon corners.
  • shape-bite-xTicket bites on the sides.
  • shape-bite-yBites at the top and bottom.

Sides and corners

With no pick, a shape cuts every side. Pick sides with shape-t to shape-y, and corners with shape-corner-tl to -bl.

  • shape-scallop shape-t
  • shape-scallop shape-x
  • shape-notch shape-corner-tr
  • shape-notch shape-corner-bl

Options

The modifier classes of the utility. Put them next to a shape class to change the cut.

NameKindDefaultDescription
shape-t · -r · -b · -l · -x · -yclassevery sideThe sides an edge shape cuts. With no pick, it cuts every side.
shape-corner-tl · -tr · -br · -blclassevery cornerThe corners a corner shape cuts.
shape-size-<n>class6 · 8 · 12pxThe hole, tooth, or cut size: n steps of the spacing scale. The default differs per shape.
shape-gap-<n>classthe sizeThe distance from one tooth or hole to the next.
shape-at-<n>%class50%Where a bite sits along its edge, in percent.