- Add PLAN.md with 40-step checklist across 10 phases - Add CLAUDE.md with project-specific instructions - Set up nix flake with FastHTML/MonsterUI dependencies - Create Python package skeleton (src/animaltrack) - Vendor FastHTML and MonsterUI documentation - Add Docker build configuration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.7 KiB
1.7 KiB
Dividers API Reference
Divider
Source
[code]
Divider(*c, cls=('my-4', <DividerT.icon: 'uk-divider-icon'>), **kwargs) -> fastcore.xml.FT
[/code]
Divider with default styling and margin
Params
-
ccontents of Divider tag (often nothing) -
clsClasses in addition to Divider styling -
kwargs
Returns: Hr(..., cls='uk-divider-icon') or Div(..., cls='uk-divider-vertical')
DividerT
Divider Styles from https://franken-ui.dev/docs/divider
| Option | Value | Option | Value |
|---|---|---|---|
| icon | uk-divider-icon | sm | uk-divider-sm |
| vertical | uk-divider-vertical |
See Source
See Output
Small Divider
Vertical Divider
Icon Divider
[code]
def ex_dividers():
return Div(
P("Small Divider"),
Divider(cls=DividerT.sm),
DivCentered(
P("Vertical Divider"),
Divider(cls=DividerT.vertical)),
DivCentered("Icon Divider"),
Divider(cls=DividerT.icon))
[/code]
DividerSplit
Source
[code]
DividerSplit(*c, cls=(), line_cls=(), text_cls=())
[/code]
Creates a simple horizontal line divider with configurable thickness and vertical spacing
Params
-
c -
cls -
line_cls -
text_cls
See Source
See Output
Or continue with
[code]
def ex_dividersplit():
return DividerSplit(P("Or continue with", cls=TextPresets.muted_sm))
[/code]
DividerLine
Source
[code]
DividerLine(lwidth=2, y_space=4)
[/code]
Params
-
lwidth -
y_space
See Source
See Output
[code]
def ex_dividerline():
return DividerLine()
[/code]