Concepts
OverviewCompositionTestingLayout
Aspect RatioBleedBoxCenterContainerDividerFlexFloatGridLink OverlayScrollableStackWrapComponents
AccordionAdmonitionAvatarButtonCheckboxComboboxConfirm ModalCTAModalDate PickerDialogFieldFieldsetFile UploaderIcon ButtonInputLoading StatesMenuNotificationsProgressPrompt ModalRadioRatingSelectSwitchTableTabsTagTextTextareaToggleTooltipUtilities
Feature FlagsForLocal StoragePortalShowsplitPropsTheme1import { Box, LinkOverlay } from 'styled-system/jsx'2
3function App() {4 return (5 <Box pos="relative">6 <img src="https://via.placeholder.com/150" alt="placeholder" />7 <LinkOverlay href="#">8 View more9 </LinkOverlay>10 </Box>11 )12}
Usage
1import { LinkOverlay } from "styled-system/jsx";
1<LinkOverlay href="https://example.com">2 Click here3</LinkOverlay>
Examples
Basic Link Overlay
1import { Box, LinkOverlay } from 'styled-system/jsx'2function App() {3 return (4 <Box pos="relative">5 <img src="https://via.placeholder.com/150" alt="placeholder" />6 <LinkOverlay href="https://example.com">7 View more8 </LinkOverlay>9 </Box>10 )11}
Props
LinkOverlay accepts all CSS properties.
On this page