Corner Markers

The defining motif. 4 L-shaped brackets at the corners of the nearest position:relative ancestor.

Default
Larger
Inset 6px
Accent

Add to your project

One command adds this component to your project.

1

Run the following command. New project? Run npx shadcn@latest init first to set up Tailwind and path aliases.

npx shadcn@latest add @aicanvas/andromeda-corner-markers

Props

Every prop this component accepts. Any other prop is forwarded to the underlying element.

PropTypeDefaultDescription
sizenumber-px square the bracket lives inside; defaults to tokens.marker.size
offsetnumber-px inset from the corner; defaults to tokens.marker.offset
borderWidthnumber-px stroke thickness; defaults to tokens.marker.borderWidth
colorstring-any CSS color; defaults to tokens.color.border.bright
radiusnumber-px corner curve; defaults to the --andromeda-radius-frame token
classNamestring-Additional CSS classes applied to the root element.

More Andromeda components