ZeroGravity UI

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
label
tone
4 pxnotch
grid
ticks
scan

Usage

TSX
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

8 documented props on Bezel
PropertyTypeDefaultDescription
labelstring""Label.
tonestring"#4ee1f2"Tone.
notchnumber4Notch. Range 0 to 8 px.
gridbooleanfalseGrid.
ticksbooleantrueCorner ticks.
scanbooleantrueHover scan.
as"div" | "section" | "article" | "aside" | "figure" | "nav" | "li""div"The element to render.
paddingnumber | string20Inner padding; numbers are pixels.

Dependencies

0 external runtime dependencies

Ships with nothing but React.