# @dioramajs/blocks/beam

Exports of @dioramajs/blocks/beam.

## Functions and values

- [default](/docs/api/blocks-beam/default.md): A short bright beam with a soft trail runs around the element's rounded border, like the border beam of SaaS feature cards and highlighted inputs: all the time, in pulses from the top, or while hovered and focused. The element stays DOM; the light draws over its edge.
- [perimeter](/docs/api/blocks-beam/perimeter.md): Length in px of the border of a box `width` x `height` with corner radius `r`.
- [pulseAt](/docs/api/blocks-beam/pulse-at.md): Where the two pulse beams are `clock` s into the loop: the distance each has run from the top middle, px, and their opacity. They run half the border, meet at the bottom and rest.
- [radiusOf](/docs/api/blocks-beam/radius-of.md): The largest corner radius of an element in px, at most half its shorter side.
