Lily's - Kit

Enhanced human interfaces
& user experiences

Powered by dead simple CSS props and a mix of common convention rules.

anchor article button details flex grid input label list slider table textarea

Flex custom

<flex/> in web development is used to define a flexbox container, which enables flexible layout management within a parent element. It allows child elements to dynamically adjust their size and alignment based on available space and specified rules, making it ideal for creating responsive and dynamic layouts.

<flex>
  <span>- content -</span>
  <span>- content -</span>
  <span>- content -</span>
  <span>- content -</span>
</flex>
- content -- content -- content -- content -

— parentElement PROPS

propdescriptionrequires
- - xsets flex direction to row-
- - ysets flex direction to column-
<flex data-props="--x">
  <span>- content -</span>
  <span>- content -</span>
  <span>- content -</span>
  <span>- content -</span>
</flex>
- content -- content -- content -- content -
<flex data-props="--y">
  <span>- content -</span>
  <span>- content -</span>
  <span>- content -</span>
  <span>- content -</span>
</flex>
- content -- content -- content -- content -