Bookmark Component

Tab-switching utility with directional placement, layout structures, shape profiles, dynamic colors, and size presets. Selected item uses data-selected="true" or a nested <input type="radio" checked>.

Notes

Default & selection

Home Products Services About

Layouts

Default (inline)

ABC

bookmark-flex (fluid + gaps)

ABC

bookmark-grid (equal width)

ABC

bookmark-gapped (track background + gaps)

ABC

Content area

bookmark-flush (seamless edge)

ABC

Content area

Directions

Default (bottom)

AB

bookmark-top

AB

bookmark-start (vertical)

ABC

bookmark-end (vertical)

ABC

Shapes

Default (square)

ABC

bookmark-rounded

ABC

bookmark-fluid

ABC

bookmark-pill (pill)

ABC

Dark variant (bookmark-inverted)

Default + inverted

HomeProductsServices

Flex + inverted

HomeProducts

Grid + inverted

HomeProducts

Gapped + inverted

ABC

Content

Flush + inverted

ABC

Content

Colors — default style

primaryitem secondaryitem tertiaryitem successitem erroritem infoitem warningitem cautionitem highlightitem inkitem titleitem descitem captionitem disableditem

Colors — inverted (dark) style

primaryitem secondaryitem tertiaryitem successitem erroritem infoitem warningitem cautionitem highlightitem inkitem titleitem descitem captionitem disableditem

Custom colors

Multiple color formats are supported:

green-500item green-100item green-800item [#ff0000]item inv greenitem inv reditem

Sizes (bookmark-4 ~ bookmark-15)

4item 5item 6item 7item 8item 9item 10item 11item 12item 13item 14item 15item

Use cases

Tab switch (default + rounded + color)

Favorites Files Team Settings

Nav menu (grid + inverted)

Home Products Services About

Sidebar (gapped + rounded)

Dashboard Analytics Users Settings

Content area

Status toggle (success / highlight)

PassPendingFail WarningInfoError

Flush + circle + inverted

Home Products Services About

Content area