mica
mica

Example

centered, capped at --size-sm

Basic usage

import { Center } from "@akonwi/mica/react";

<Center max="lg" gutter="md">…</Center>
<m-center max="lg" gutter="md">…</m-center>

API

Attributes

NameType/ValuesDefaultDescription
maxxs · sm · md · lg · xl--measure (60ch)Caps the centered content's inline size.
guttersm · md · lgnoneAdds edge padding.
← zstackbox →