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

Anchor native

<a/> elements in web development create hyperlinks, which are used to navigate to other pages, sections within a page, or external resources. They can be styled to look like buttons or other interactive elements, making them versatile for navigation and linking purposes. Anchors are essential for creating a connected and interactive web experience.

<a>
  <span>
    anchor
  </span>
</a>

anchor

<a href="#">
  <span>
    anchor
  </span>
</a>

anchor

— parentElement PROPS

propdescriptionrequires
- - buttonchanges style to look like a button-
- - outlinesets outline style- - button
- - fabchanges style to look like a FAB- - button
<a data-props="--button --outline">
  <span>
    anchor
  </span>
</a>
<a data-props="--button --outline --fab">
  <icon>
    add_circle
  </icon>
</a>

— childrenElements PROPS

propdescriptionpurpose
- - leadset’s as leading itemleft side optical corrections
- - trailset’s as trailing itemright side optical corrections
<a data-props="--button --outline">
  <icon data-props="--lead">
    add_circle
  </icon>
  <span>anchor</span>
</a>
<a data-props="--button --outline">
  <span>anchor</span>
  <icon data-props="--trail">
    add_circle
  </icon>
</a>