Border beam

Highlight an action, input or card with a moving border. Try beam shapes and palettes, then copy the React component.

Open in Studio

See it in action

Choose an example to try, then make it your own below.

All examples

Make it yours

Preparing preview…

0px
Desktop · 0pxPress Play to animate the border.

React code

import { BorderBeam } from '@/components/livenui/beam'

<BorderBeam
  size={"md"}
  colorVariant={"ocean"}
  duration={4}
  active={true}
  theme={"light"}
>
  <button type="button">Your content</button>
</BorderBeam>