For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
/
3
Sponsor

Box

A grouped settings container with rounded corners and padding.

Import

use maccn::MacBox;

Usage

MacBox::new("settings-group")
    .child(MacLabel::new("caption").style(LabelStyle::Footnote).child("Network"))
    .child("Content here");

API

Constructor

MethodDescription
MacBox::new(id)Creates a new box container with the given element ID.

Traits

TraitDescription
StyledSet background, border, padding, etc.
ParentElementAdd child elements via .child().