ComponentsEffects
Hexagon
A tiled hexagon outline field generated for its box
Usage
import { Hexagon } from "@gpuixui/fx/hexagon";
<Hexagon
radius={34}
stroke={1}
style={{ width: 520, height: 260 }}
/>;API
| Prop | Type | Default |
|---|---|---|
children | ReactNode | — |
radius | number | 30 |
stroke | number | 1 |
color | string | theme border |
breatheMs | number | 8_000 |
level | MotionLevel | "slow" |
className | string | — |
style | StateStyle<HexagonState> | — |
Edit this page on GitHubpackages/fx/docs/hexagon.mdx