Interfacestable
Bezel
Pixel frame
A frame for any content with stepped corners, a mono label tab and corner ticks that lock on when hovered.
Package
- Runtime dependencies
- 0
- Shared frame loops
- 1
- License
- MIT
Customize
Framecorners, label tab and hover lock-on
labeltone4 px
notchgridticksscanUsage
import { Bezel } from "zerogravity/bezel"
<Bezel
label="Package"
tone="#c6f24e"
>
<YourContent />
</Bezel>Generated from the controls above. Only props that differ from their defaults are shown.
Props
| Property | Type | Default | Description |
|---|---|---|---|
label | string | "" | Label. |
tone | string | "#4ee1f2" | Tone. |
notch | number | 4 | Notch. Range 0 to 8 px. |
grid | boolean | false | Grid. |
ticks | boolean | true | Corner ticks. |
scan | boolean | true | Hover scan. |
as | "div" | "section" | "article" | "aside" | "figure" | "nav" | "li" | "div" | The element to render. |
padding | number | string | 20 | Inner padding; numbers are pixels. |
Dependencies
0 external runtime dependencies
Ships with nothing but React.